[][[MAC80211][misc] change hostapd.sh to parse and add config to disable_eht disable_he capabilitiy for STA connection ]

[Description]
Change
add configuration parsing for disable_eht disable_he, disable
  vht , disable_ht

if user set this variable in /etc/config/wireless
for example
config wifi-iface 'default_radio1_sta0'
        option device 'radio1'
        option network 'lan'
        option mode 'sta'
        option encryption 'none'
        option ssid 'MT76_ROOTAP_5G'
        option ifname 'apclii0'
        option wds '1'
        option disable_eht '1'

this .sh file will parse and add in supplicant conf file.
/var/run/wpa_supplicant-apclii0.conf
Output would be like...

network={
        scan_ssid=1
        ssid="MT76_ROOTAP_5G"
        key_mgmt=NONE
        beacon_int=100
        disable_eht=1
}

Change hostapd.sh for parsing disable_eht params.

[Release-log]


Change-Id: I7099679a971e63eb5739a81394cadf1cafb1b9c3
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7299803
1 file changed