#22237: Wireless radio not fully disabled on startup (TL-WA850re)
--------------------------+------------------------
Reporter: anm.nov | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: base system | Version: Trunk
Resolution: | Keywords:
--------------------------+------------------------
Comment (by anm.nov):
{{{
ubus call network.wireless status
}}}
This seems to give the same result as
{{{
wifi status
}}}
Anyway, the output:
{{{
root@OpenWrt:~# ubus call network.wireless status
{
"radio0": {
"up": false,
"pending": false,
"autostart": true,
"disabled": true,
"config": {
"channel": "11",
"hwmode": "11g",
"path": "platform\/ar934x_wmac",
"htmode": "HT20",
"disabled": true
},
"interfaces": [
{
"section": "@wifi-iface[0]",
"config": {
"mode": "ap",
"ssid": "OpenWrt",
"encryption": "none",
"network": [
"lan"
],
"mode": "ap"
}
}
]
}
}
}}}
When I put 'disabled' option in ''wifi-iface'' section, I get this:
{{{
root@OpenWrt:~# ubus call network.wireless status
{
"radio0": {
"up": false,
"pending": false,
"autostart": true,
"disabled": true,
"config": {
"channel": "11",
"hwmode": "11g",
"path": "platform\/ar934x_wmac",
"htmode": "HT20",
"disabled": true
},
"interfaces": [
]
}
}
}}}
Unfortunately, this seems to be the only change. I saw no other changes
from situation described in previous post.
[[BR]]
> even with such a configuration doing a wifi survey will create tmp wifi
interface.
I don't think so. When wireless is __properly__ disabled (item 3 in
previous post), there is no interface and no survey is possible:
{{{
root@OpenWrt:/etc/config# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master
br-lan state UP qlen 1000
link/ether 14:cc:20:3f:30:9b brd ff:ff:ff:ff:ff:ff
4: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UP
link/ether 14:cc:20:3f:30:9b brd ff:ff:ff:ff:ff:ff
}}}
{{{
root@OpenWrt:/etc/config# iw dev wlan0 scan
command failed: No such device (-19)
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/22237#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets