#14781: No SSID broadcast after r38914 when using STA and AP simultaneously on 
the
same interface
--------------------------+----------------------------------
  Reporter:  nunojpg      |      Owner:  developers
      Type:  defect       |     Status:  closed
  Priority:  normal       |  Milestone:  Chaos Calmer (trunk)
 Component:  base system  |    Version:  Trunk
Resolution:  fixed        |   Keywords:
--------------------------+----------------------------------

Comment (by mailgpa@…):

 Similar issue on TP-Link Archer C5 V1 / r43797 (as well as TP-Link Archer
 C7 V2 /  r43819)

 The router gets connectivity fine trough the WiFi STA, but the AP SSID
 does not appear.

 Please find info from Archer C5 below

 {{{
 # cat /etc/config/network

 config interface 'loopback'
         option ifname 'lo'
         option proto 'static'
         option ipaddr '127.0.0.1'
         option netmask '255.0.0.0'

 config globals 'globals'
         option ula_prefix 'fdbe:518a:458d::/48'

 config interface 'lan'
         option ifname 'eth1'
         option force_link '1'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.1.1'
         option netmask '255.255.255.0'
         option ip6assign '60'

 config interface 'wan'
         option ifname 'eth0'
         option proto 'dhcp'

 config interface 'lte'
         option proto 'ncm'
         option ifname 'wwan0'
         option pincode '1154'
         option authtype 'none'
         option delay '5'
         option device '/dev/ttyUSB0'
         option mode 'lte'

 config interface 'wan6'
         option ifname 'eth0'
         option proto 'dhcpv6'

 config switch
         option name 'switch0'
         option reset '1'
         option enable_vlan '1'

 config switch_vlan
         option device 'switch0'
         option vlan '1'
         option ports '0 2 3 4 5'

 config switch_vlan
         option device 'switch0'
         option vlan '2'
         option ports '1 6'
 }}}



 {{{
 # cat /etc/config/wireless

 config wifi-device 'radio0'
         option type 'mac80211'
         option path 'platform/qca955x_wmac'
         option noscan '1'
         option hwmode '11g'
         option htmode 'HT40'
         option channel '4'
         option country '00'
         option distance '15'
         option txpower '21'

 config wifi-iface
         option encryption 'psk2'
         option device 'radio0'
         option key 'xxx'
         option ssid 'ramanet_24'
         option mode 'ap'
         option network 'lan'
         option wds '1'

 config wifi-device 'radio1'
         option type 'mac80211'
         option path 'pci0000:01/0000:01:00.0'
         option htmode 'VHT80'
         option hwmode '11a'
         option country 'BG'
         option channel '48'
         option txpower '17'
         option log_level '0'

 config wifi-iface
         option device 'radio1'
         option network 'lan'
         option mode 'ap'
         option ssid 'ramanet'
         option key 'xxx'
         option encryption 'psk2'
         option wds '1'

 config wifi-iface
         option device 'radio1'
         option network 'lan'
         option mode 'sta'
         option ssid 'ramanet_link'
         option bssid 'EA:94:F6:C7:CD:76'
         option key 'xxx'
         option encryption 'psk2'
         option wds '1'
 }}}



 {{{
 # iw dev wlan0 info
 Interface wlan0
         ifindex 32
         wdev 0x16
         addr 14:cc:20:46:a9:0c
         type managed
         wiphy 0
         channel 48 (5240 MHz), width: 80 MHz, center1: 5210 MHz
 }}}



 {{{
 # iw dev wlan0-1 info
 Interface wlan0-1
         ifindex 33
         wdev 0x17
         addr 16:cc:20:46:a9:0c
         type AP
         wiphy 0
 }}}



 {{{
 # cat /proc/net/dev
 Inter-|   Receive                                                |
 Transmit
  face |bytes    packets errs drop fifo frame compressed multicast|bytes
 packets errs drop fifo colls carrier compressed
     lo:   33934     432    0    0    0     0          0         0    33934
 432    0    0    0     0       0          0
  wwan0: 16460868   26873    0    0    0     0          0         0
 108152954   33979    0    0    0     0       0          0
  wlan1:  708617    3533    0    0    0     0          0         0  1237221
 3046    0    0    0     0       0          0
   eth1:       0       0    0    0    0     0          0         0   306487
 923    0    0    0     0       0          0
 wlan0-1:       0       0    0    0    0     0          0         0
 0       0    0    0    0     0       0          0
  wlan0:  418839    2156    0    0    0     0          0         0   569288
 1321    0    0    0     0       0          0
   eth0:       0       0    0    0    0     0          0         0   241012
 722    0    0    0     0       0          0
 br-lan: 566240503  413003    0    0    0     0          0         0
 20393958   68813    0    0    0     0       0          0

 }}}


 {{{
 # ubus call network.device status
 {
         "br-lan": {
                 "external": false,
                 "present": true,
                 "type": "Bridge",
                 "up": true,
                 "carrier": true,
                 "bridge-members": [
                         "eth1",
                         "wlan0",
                         "wlan0-1",
                         "wlan1"
                 ],
                 "macaddr": "14:cc:20:46:a9:0e",
                 "statistics": {
                         "collisions": 0,
                         "rx_frame_errors": 0,
                         "tx_compressed": 0,
                         "multicast": 0,
                         "rx_length_errors": 0,
                         "tx_dropped": 0,
                         "rx_bytes": 566512356,
                         "rx_missed_errors": 0,
                         "tx_errors": 0,
                         "rx_compressed": 0,
                         "rx_over_errors": 0,
                         "tx_fifo_errors": 0,
                         "rx_crc_errors": 0,
                         "rx_packets": 415663,
                         "tx_heartbeat_errors": 0,
                         "rx_dropped": 0,
                         "tx_aborted_errors": 0,
                         "tx_packets": 70550,
                         "rx_errors": 0,
                         "tx_bytes": 20744726,
                         "tx_window_errors": 0,
                         "rx_fifo_errors": 0,
                         "tx_carrier_errors": 0
                 }
         },
         "eth0": {
                 "external": false,
                 "present": true,
                 "type": "Network device",
                 "up": true,
                 "carrier": true,
                 "link-advertising": [
                         "1000F"
                 ],
                 "link-supported": [
                         "1000F"
                 ],
                 "speed": "1000F",
                 "statistics": {
                         "collisions": 0,
                         "rx_frame_errors": 0,
                         "tx_compressed": 0,
                         "multicast": 0,
                                 "rx_length_errors": 0,
                         "tx_dropped": 0,
                         "rx_bytes": 0,
                         "rx_missed_errors": 0,
                         "tx_errors": 0,
                         "rx_compressed": 0,
                         "rx_over_errors": 0,
                         "tx_fifo_errors": 0,
                         "rx_crc_errors": 0,
                         "rx_packets": 0,
                         "tx_heartbeat_errors": 0,
                         "rx_dropped": 0,
                         "tx_aborted_errors": 0,
                         "tx_packets": 752,
                         "rx_errors": 0,
                         "tx_bytes": 251272,
                         "tx_window_errors": 0,
                         "rx_fifo_errors": 0,
                         "tx_carrier_errors": 0
                 }
         },
         "eth1": {
                 "external": false,
                 "present": true,
                 "type": "Network device",
                 "up": true,
                 "carrier": true,
                 "ipv6": false,
                 "statistics": {
                         "collisions": 0,
                         "rx_frame_errors": 0,
                         "tx_compressed": 0,
                         "multicast": 0,
                         "rx_length_errors": 0,
                         "tx_dropped": 0,
                         "rx_bytes": 0,
                         "rx_missed_errors": 0,
                         "tx_errors": 0,
                         "rx_compressed": 0,
                         "rx_over_errors": 0,
                         "tx_fifo_errors": 0,
                         "rx_crc_errors": 0,
                         "rx_packets": 0,
                         "tx_heartbeat_errors": 0,
                         "rx_dropped": 0,
                         "tx_aborted_errors": 0,
                         "tx_packets": 926,
                         "rx_errors": 0,
                         "tx_bytes": 306981,
                         "tx_window_errors": 0,
                         "rx_fifo_errors": 0,
                         "tx_carrier_errors": 0
                 }
         },
         "lo": {
                 "external": false,
                 "present": true,
                 "type": "Network device",
                 "up": true,
                 "carrier": true,
                 "statistics": {
                         "collisions": 0,
                         "rx_frame_errors": 0,
                         "tx_compressed": 0,
                         "multicast": 0,
                         "rx_length_errors": 0,
                         "tx_dropped": 0,
                         "rx_bytes": 39726,
                         "rx_missed_errors": 0,
                         "tx_errors": 0,
                         "rx_compressed": 0,
                         "rx_over_errors": 0,
                         "tx_fifo_errors": 0,
                         "rx_crc_errors": 0,
                         "rx_packets": 512,
                         "tx_heartbeat_errors": 0,
                         "rx_dropped": 0,
                         "tx_aborted_errors": 0,
                         "tx_packets": 512,
                         "rx_errors": 0,
                         "tx_bytes": 39726,
                         "tx_window_errors": 0,
                         "rx_fifo_errors": 0,
                         "tx_carrier_errors": 0
                 }
         },
         "wlan0": {
                 "external": true,
                 "present": true,
                 "type": "Network device",
                 "up": true,
                 "carrier": true,
                 "ipv6": false,
                 "statistics": {
                         "collisions": 0,
                         "rx_frame_errors": 0,
                         "tx_compressed": 0,
                         "multicast": 0,
                         "rx_length_errors": 0,
                         "tx_dropped": 0,
                         "rx_bytes": 550960,
                         "rx_missed_errors": 0,
                         "tx_errors": 0,
                         "rx_compressed": 0,
                         "rx_over_errors": 0,
                         "tx_fifo_errors": 0,
                         "rx_crc_errors": 0,
                         "rx_packets": 3045,
                         "tx_heartbeat_errors": 0,
                         "rx_dropped": 0,
                         "tx_aborted_errors": 0,
                         "tx_packets": 1737,
                         "rx_errors": 0,
                         "tx_bytes": 699898,
                         "tx_window_errors": 0,
                         "rx_fifo_errors": 0,
                         "tx_carrier_errors": 0
                 }
         },
         "wlan0-1": {
                 "external": true,
                 "present": true,
                 "type": "Network device",
                 "up": true,
                 "carrier": false,
                 "ipv6": false,
                 "statistics": {
                         "collisions": 0,
                         "rx_frame_errors": 0,
                         "tx_compressed": 0,
                         "multicast": 0,
                         "rx_length_errors": 0,
                         "tx_dropped": 0,
                         "rx_bytes": 0,
                         "rx_missed_errors": 0,
                         "tx_errors": 0,
                         "rx_compressed": 0,
                         "rx_over_errors": 0,
                         "tx_fifo_errors": 0,
                         "rx_crc_errors": 0,
                         "rx_packets": 0,
                         "tx_heartbeat_errors": 0,
                         "rx_dropped": 0,
                         "tx_aborted_errors": 0,
                         "tx_packets": 0,
                         "rx_errors": 0,
                         "tx_bytes": 0,
                         "tx_window_errors": 0,
                         "rx_fifo_errors": 0,
                         "tx_carrier_errors": 0
                 }
         },
         "wlan1": {
                 "external": true,
                 "present": true,
                 "type": "Network device",
                 "up": true,
                 "carrier": true,
                 "ipv6": false,
                 "statistics": {
                         "collisions": 0,
                         "rx_frame_errors": 0,
                         "tx_compressed": 0,
                         "multicast": 0,
                         "rx_length_errors": 0,
                         "tx_dropped": 0,
                         "rx_bytes": 886105,
                         "rx_missed_errors": 0,
                         "tx_errors": 0,
                         "rx_compressed": 0,
                         "rx_over_errors": 0,
                         "tx_fifo_errors": 0,
                         "rx_crc_errors": 0,
                         "rx_packets": 5309,
                         "tx_heartbeat_errors": 0,
                         "rx_dropped": 0,
                         "tx_aborted_errors": 0,
                         "tx_packets": 4376,
                         "rx_errors": 0,
                         "tx_bytes": 1496247,
                         "tx_window_errors": 0,
                         "rx_fifo_errors": 0,
                         "tx_carrier_errors": 0
                 }
         },
         "wwan0": {
                 "external": false,
                 "present": true,
                 "type": "Network device",
                 "up": true,
                 "carrier": true,
                 "statistics": {
                         "collisions": 0,
                         "rx_frame_errors": 0,
                         "tx_compressed": 0,
                         "multicast": 0,
                         "rx_length_errors": 0,
                         "tx_dropped": 0,
                         "rx_bytes": 16704570,
                         "rx_missed_errors": 0,
                         "tx_errors": 0,
                         "rx_compressed": 0,
                         "rx_over_errors": 0,
                         "tx_fifo_errors": 0,
                         "rx_crc_errors": 0,
                         "rx_packets": 28238,
                         "tx_heartbeat_errors": 0,
                         "rx_dropped": 0,
                         "tx_aborted_errors": 0,
                         "tx_packets": 36284,
                         "rx_errors": 0,
                         "tx_bytes": 113287858,
                         "tx_window_errors": 0,
                         "rx_fifo_errors": 0,
                         "tx_carrier_errors": 0
                 }
         }
 }
 }}}



 {{{
 # ifconfig
 br-lan    Link encap:Ethernet  HWaddr 14:CC:20:46:A9:0E
           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
           inet6 addr: fdbe:518a:458d::1/60 Scope:Global
           inet6 addr: fe80::16cc:20ff:fe46:a90e/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:417045 errors:0 dropped:0 overruns:0 frame:0
           TX packets:71333 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:566694936 (540.4 MiB)  TX bytes:21016032 (20.0 MiB)

 eth0      Link encap:Ethernet  HWaddr 14:CC:20:46:A9:0F
           inet6 addr: fe80::16cc:20ff:fe46:a90f/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:776 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:0 (0.0 B)  TX bytes:259334 (253.2 KiB)
           Interrupt:4

 eth1      Link encap:Ethernet  HWaddr 14:CC:20:46:A9:0E
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:929 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:0 (0.0 B)  TX bytes:307159 (299.9 KiB)
           Interrupt:5

 lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:65536  Metric:1
           RX packets:560 errors:0 dropped:0 overruns:0 frame:0
           TX packets:560 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:43026 (42.0 KiB)  TX bytes:43026 (42.0 KiB)

 wlan0     Link encap:Ethernet  HWaddr 14:CC:20:46:A9:0C
           inet6 addr: fe80::16cc:20ff:fe46:a90c/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:4098 errors:0 dropped:0 overruns:0 frame:0
           TX packets:2199 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:694359 (678.0 KiB)  TX bytes:830114 (810.6 KiB)

 wlan0-1   Link encap:Ethernet  HWaddr 16:CC:20:46:A9:0C
           UP BROADCAST MULTICAST  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 wlan1     Link encap:Ethernet  HWaddr 14:CC:20:46:A9:0D
           inet6 addr: fe80::16cc:20ff:fe46:a90d/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:5668 errors:0 dropped:0 overruns:0 frame:0
           TX packets:4728 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:947218 (925.0 KiB)  TX bytes:1658743 (1.5 MiB)

 wwan0     Link encap:Ethernet  HWaddr 0C:5B:8F:27:9A:64
           inet addr:100.71.68.39  Bcast:100.71.68.47  Mask:255.255.255.240
           inet6 addr: fe80::e5b:8fff:fe27:9a64/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:28751 errors:0 dropped:0 overruns:0 frame:0
           TX packets:37417 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:16899838 (16.1 MiB)  TX bytes:117185841 (111.7 MiB)
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/14781#comment:8>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to