Skip to content

libwifi: mtk: add oper_std indication for backhaul

Bartlomiej Grzeskowiak requested to merge sta_oper_std into devel

oper_std will return the information about link standard.
5GHz: a/n/ac are supported separately
2,4GHz: b/g or n are supported.

Operating standards tests:

2.4G
/etc/config/wireless

option hwmode '11g'  
option htmode 'NOHT'  
option legacy_rates '0'  

reported by ubus calls

"standard": "802.11b/g",
/etc/config/wireless

option hwmode '11g'  
option htmode 'NOHT'  
option legacy_rates '1'  

reported by ubus calls

"standard": "802.11b/g",

/etc/config/wireless

option hwmode '11b'  

reported by ubus calls

"standard": "802.11b/g",

/etc/config/wireless

option hwmode '11g'  
option htmode 'HT20'  
option legacy_rates '1'  

reported by ubus calls

"standard": "802.11n"

5G
/etc/config/wireless

option hwmode '11a'  
option htmode 'NOHT'  

reported by ubus calls
"standard": "802.11a",

/etc/config/wireless
option hwmode '11a'
option htmode 'HT20'
reported by ubus calls

"standard": "802.11a/n",

/etc/config/wireless

option hwmode '11a'  
option htmode 'VHT20'  

reported by ubus calls

"standard": "802.11a/n/ac"

Signed-off-by: Bartlomiej Grzeskowiak bartlomiej.grzeskowiak@iopsys.eu

@janusz @Marek please have a look

Edited by Bartlomiej Grzeskowiak

Merge request reports