wifi: implement HT capabilities blacklist for certain wireless cards
Some wireless cards reports HT capabilities that are actually not supported - based on the manufacturer datasheets.
For example AW7915-NP1 (MT7915AN) reports following capabilities in TOS:
root@omnia-ap:/# ubus call iwinfo info '{"device":"radio0"}'
{
[...]
"htmodes": [
"HT20",
"HT40",
"VHT20",
"VHT40",
"VHT80",
"VHT80+80",
"VHT160", <-- this
"HE20",
"HE40",
"HE80",
"HE80+80",
"HE160" <-- this
],
"hwmodes": [
"ac",
"ax",
"n"
],
[...]
}
But datasheet states that it only supports:
Supports 5, 10, 20, 40, 80, 80+80 channels
Implement code that will filter out unsupported HT modes, so user won't be mislead that it is possible use them.