{"action":"created","issue":{"url":"https://api.github.com/repos/kaloz/mwlwifi/issues/22","labels_url":"https://api.github.com/repos/kaloz/mwlwifi/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/kaloz/mwlwifi/issues/22/comments","events_url":"https://api.github.com/repos/kaloz/mwlwifi/issues/22/events","html_url":"https://github.com/kaloz/mwlwifi/issues/22","id":79901552,"number":22,"title":"'Hide ESSID' doesn't Hide the ESSID (OpenWRT/WRT1900AC) ","user":{"login":"Malathion","id":12575156,"avatar_url":"https://avatars.githubusercontent.com/u/12575156?v=3","gravatar_id":"","url":"https://api.github.com/users/Malathion","html_url":"https://github.com/Malathion","followers_url":"https://api.github.com/users/Malathion/followers","following_url":"https://api.github.com/users/Malathion/following{/other_user}","gists_url":"https://api.github.com/users/Malathion/gists{/gist_id}","starred_url":"https://api.github.com/users/Malathion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Malathion/subscriptions","organizations_url":"https://api.github.com/users/Malathion/orgs","repos_url":"https://api.github.com/users/Malathion/repos","events_url":"https://api.github.com/users/Malathion/events{/privacy}","received_events_url":"https://api.github.com/users/Malathion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-23T17:13:05Z","updated_at":"2015-05-24T17:21:44Z","closed_at":null,"body":"Occurs on multiple builds of OpenWRT and it does not appear to be a Luci issue. Now using r45711. First thing I did on a fresh install of generic was disable the SSIDs on both radios. I still see the broadcasted SSIDs, even after a powercycle.\r\n==============================================\r\nconfig wifi-device 'radio0'\r\n        option type 'mac80211'\r\n        option hwmode '11g'\r\n        option path 'soc/soc:pcie-controller/pci0000:00/0000:00:02.0/0000:02:00.0'\r\n        option country 'US'\r\n        option channel 'auto'\r\n        option htmode 'HT40'\r\n        option txpower '20'\r\n\r\nconfig wifi-iface\r\n        option device 'radio0'\r\n        option network 'lan'\r\n        option mode 'ap'\r\n        option ssid '****'\r\n        option encryption 'psk2+ccmp'\r\n        option key '*****'\r\n        option hidden '1'\r\n\r\nconfig wifi-device 'radio1'\r\n        option type 'mac80211'\r\n        option channel '36'\r\n        option hwmode '11a'\r\n        option path 'soc/soc:pcie-controller/pci0000:00/0000:00:03.0/0000:03:00.0'\r\n        option htmode 'VHT80'\r\n        option country 'US'\r\n        option txpower '17'\r\n\r\nconfig wifi-iface\r\n        option device 'radio1'\r\n        option network 'lan'\r\n        option mode 'ap'\r\n        option ssid '*****'\r\n        option encryption 'psk2+ccmp'\r\n        option key '*****'\r\n        option hidden '1'\r\n==============================================\r\nroot@wrt1900ac:~# wifi status\r\n{\r\n        \"radio0\": {\r\n                \"up\": true,\r\n                \"pending\": false,\r\n                \"autostart\": true,\r\n                \"disabled\": false,\r\n                \"config\": {\r\n                        \"hwmode\": \"11g\",\r\n                        \"path\": \"soc\\/soc:pcie-controller\\/pci0000:00\\/0000:00:02.0\\/0000:02:00.0\",\r\n                        \"country\": \"US\",\r\n                        \"channel\": \"auto\",\r\n                        \"htmode\": \"HT40\",\r\n                        \"txpower\": 20\r\n                },\r\n                \"interfaces\": [\r\n                        {\r\n                                \"section\": \"@wifi-iface[0]\",\r\n                                \"ifname\": \"wlan0\",\r\n                                \"config\": {\r\n                                        \"mode\": \"ap\",\r\n                                        \"ssid\": \"*****\",\r\n                                        \"encryption\": \"psk2+ccmp\",\r\n                                        \"key\": \"*****\",\r\n                                        \"hidden\": true,\r\n                                        \"network\": [\r\n                                                \"lan\"\r\n                                        ]\r\n                                }\r\n                        }\r\n                ]\r\n        },\r\n        \"radio1\": {\r\n                \"up\": true,\r\n                \"pending\": false,\r\n                \"autostart\": true,\r\n                \"disabled\": false,\r\n                \"config\": {\r\n                        \"channel\": \"36\",\r\n                        \"hwmode\": \"11a\",\r\n                        \"path\": \"soc\\/soc:pcie-controller\\/pci0000:00\\/0000:00:03.0\\/0000:03:00.0\",\r\n                        \"htmode\": \"VHT80\",\r\n                        \"country\": \"US\",\r\n                        \"txpower\": 17\r\n                },\r\n                \"interfaces\": [\r\n                        {\r\n                                \"section\": \"@wifi-iface[1]\",\r\n                                \"ifname\": \"wlan1\",\r\n                                \"config\": {\r\n                                        \"mode\": \"ap\",\r\n                                        \"ssid\": \"*****\",\r\n                                        \"encryption\": \"psk2+ccmp\",\r\n                                        \"key\": \"*****\",\r\n                                        \"hidden\": true,\r\n                                        \"network\": [\r\n                                                \"lan\"\r\n                                        ]\r\n                                }\r\n                        }\r\n                ]\r\n        }\r\n}\r\n==============================================\r\nroot@wrt1900ac:~# cat /tmp/run/hostapd-phy0.conf\r\ndriver=nl80211\r\nlogger_syslog=127\r\nlogger_syslog_level=2\r\nlogger_stdout=127\r\nlogger_stdout_level=2\r\ncountry_code=US\r\nieee80211d=1\r\nhw_mode=g\r\nchannel=acs_survey\r\n\r\nieee80211n=1\r\nht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40]\r\n\r\ninterface=wlan0\r\nctrl_interface=/var/run/hostapd\r\ndisassoc_low_ack=1\r\npreamble=1\r\nwmm_enabled=1\r\nignore_broadcast_ssid=1\r\nuapsd_advertisement_enabled=1\r\nwpa_passphrase=*****\r\nauth_algs=1\r\nwpa=2\r\nwpa_pairwise=CCMP\r\nssid=*****\r\nbridge=br-lan\r\nwpa_key_mgmt=WPA-PSK\r\nokc=0\r\ndisable_pmksa_caching=1\r\nbssid=00:25:9c:******\r\n\r\n\r\nroot@wrt1900ac:~# cat /tmp/run/hostapd-phy1.conf\r\ndriver=nl80211\r\nlogger_syslog=127\r\nlogger_syslog_level=2\r\nlogger_stdout=127\r\nlogger_stdout_level=2\r\ncountry_code=US\r\nieee80211d=1\r\nieee80211h=1\r\nhw_mode=a\r\nchannel=36\r\n\r\nieee80211n=1\r\nht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40]\r\nvht_oper_chwidth=1\r\nvht_oper_centr_freq_seg0_idx=42\r\nieee80211ac=1\r\nvht_capab=[RXLDPC][SHORT-GI-80][SU-BEAMFORMER][SU-BEAMFORMEE][MU-BEAMFORMER][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC1][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7]\r\n\r\ninterface=wlan1\r\nctrl_interface=/var/run/hostapd\r\ndisassoc_low_ack=1\r\npreamble=1\r\nwmm_enabled=1\r\nignore_broadcast_ssid=1\r\nuapsd_advertisement_enabled=1\r\nwpa_passphrase=******\r\nauth_algs=1\r\nwpa=2\r\nwpa_pairwise=CCMP\r\nssid=*****\r\nbridge=br-lan\r\nwpa_key_mgmt=WPA-PSK\r\nokc=0\r\ndisable_pmksa_caching=1\r\nbssid=00:25:9c:******\r\n"},"comment":{"url":"https://api.github.com/repos/kaloz/mwlwifi/issues/comments/105040855","html_url":"https://github.com/kaloz/mwlwifi/issues/22#issuecomment-105040855","issue_url":"https://api.github.com/repos/kaloz/mwlwifi/issues/22","id":105040855,"user":{"login":"pdfruth","id":11518334,"avatar_url":"https://avatars.githubusercontent.com/u/11518334?v=3","gravatar_id":"","url":"https://api.github.com/users/pdfruth","html_url":"https://github.com/pdfruth","followers_url":"https://api.github.com/users/pdfruth/followers","following_url":"https://api.github.com/users/pdfruth/following{/other_user}","gists_url":"https://api.github.com/users/pdfruth/gists{/gist_id}","starred_url":"https://api.github.com/users/pdfruth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdfruth/subscriptions","organizations_url":"https://api.github.com/users/pdfruth/orgs","repos_url":"https://api.github.com/users/pdfruth/repos","events_url":"https://api.github.com/users/pdfruth/events{/privacy}","received_events_url":"https://api.github.com/users/pdfruth/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T17:21:44Z","updated_at":"2015-05-24T17:21:44Z","body":"If it helps anyone... I was able to get ssid hiding to work by making this one-line code change to mwl_mac80211.c\r\nI changed line 870 from;\r\nif ((info->ssid[0] != '\\0') && (info->ssid_len != 0))\r\nto;\r\nif ((info->ssid[0] != '\\0') && (info->ssid_len != 0) && !info->hidden_ssid)\r\n"}}