mirror of
https://github.com/svpcom/wfb-ng.git
synced 2025-02-22 16:23:47 -04:00
Add 10MHz HT channels (8812eu only)
This commit is contained in:
parent
e4dc05514b
commit
cfed790de5
@ -674,6 +674,9 @@ int main(int argc, char * const *argv)
|
||||
uint8_t flags = 0;
|
||||
|
||||
switch(bandwidth) {
|
||||
case 10:
|
||||
flags |= IEEE80211_RADIOTAP_MCS_BW_20;
|
||||
break;
|
||||
case 20:
|
||||
flags |= IEEE80211_RADIOTAP_MCS_BW_20;
|
||||
break;
|
||||
|
@ -416,7 +416,9 @@ class TXProtocol(ProcessProtocol):
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def init_wlans(max_bw, wlans):
|
||||
if max_bw == 20:
|
||||
if max_bw == 10:
|
||||
ht_mode = '10MHz'
|
||||
elif max_bw == 20:
|
||||
ht_mode = 'HT20'
|
||||
elif max_bw == 40:
|
||||
ht_mode = 'HT40+'
|
||||
|
Loading…
Reference in New Issue
Block a user