Enables some HT (802.11n) capabilities in the run driver.
Also make a change to net80211 to send HT IEs in probe requests.
The changes are protected by an #ifdef #endif to not interfere with others' work.
Differential D22840
Add HTCAPS for run(4) lrx337_gmail.com on Dec 16 2019, 7:36 PM. Authored by Tags None Referenced Files
Details Enables some HT (802.11n) capabilities in the run driver. The changes are protected by an #ifdef #endif to not interfere with others' work. Manual for now.
Diff Detail
Event TimelineComment Actions From @kevlo : this is not enough for letting run(4) to support 802.11n, the RX/TX paths also need to be modified to handle HT. Comment Actions @adrian had recommended the #ifdef approach taken here to start incrementally adding 11n bits as lrx works out the rest of the details Comment Actions @kevans thanks for the clarification, and @lrx337_gmail.com please keep on the good work. Comment Actions Exactly produce probe requests as rt2x00. These changes, however, result in a kernel panic. Comment Actions Changes in ieee80211_output.c Changes in ieee80211_ht.c Comment Actions Get 802.11n frames on the wire. Comment Actions First 802.11n frames on the wire. Comment Actions Add MCS rates to run's rate table, print out tx descriptor and decide which PHY to use based on the rate / ridx instead of channel being HT20.
Comment Actions Add MCS table from datasheet. RX AMPDU works now (verified with a wireshark monitor). Comment Actions Add tx_ampdu_enable for run (function returns 0 for now meaning that no tx ampdu support in driver). Disable MCS32 RX/TX bits. |