Tx2 Wifi Issues - cannot create wifi AP or connect to wireless network

Having wifi issues with the tx2. I cannot start a wireless access point, or connect to an existing wifi hotspot.

Release: # R28 (release), REVISION: 2.1, GCID: 11272647, BOARD: t186ref, EABI: aarch64, DATE: Thu May 17 07:29:06 UTC 2018
Board: Auvidea J120

nvidia@tegra-ubuntu:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:4b:c5:61:7c  
          inet addr:172.16.154.89  Bcast:172.16.154.255  Mask:255.255.255.0
          inet6 addr: fe80::204:4bff:fec5:617c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
          RX packets:1595 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2887 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:144562 (144.5 KB)  TX bytes:9558416 (9.5 MB)
          Interrupt:43 
l4tbr0    Link encap:Ethernet  HWaddr b6:b5:28:de:52:ca  
          inet addr:192.168.55.1  Bcast:192.168.55.255  Mask:255.255.255.0
          inet6 addr: fe80::1c16:2eff:fe83:54db/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:772 (772.0 B)
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:796 errors:0 dropped:0 overruns:0 frame:0
          TX packets:796 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:87219 (87.2 KB)  TX bytes:87219 (87.2 KB)
usb0      Link encap:Ethernet  HWaddr ea:9c:cd:f2:8a:00  
          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)
usb1      Link encap:Ethernet  HWaddr b6:b5:28:de:52:ca  
          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)
wlan0     Link encap:Ethernet  HWaddr 00:04:4b:c5:61:7a  
          inet addr:192.168.8.1  Bcast:192.168.8.255  Mask:255.255.255.0
          inet6 addr: fe80::204:4bff:fec5:617a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:10258 (10.2 KB)

iwconfig

usb0      no wireless extensions.
lo        no wireless extensions.
dummy0    no wireless extensions.
wlan0     no wireless extensions.
l4tbr0    no wireless extensions.
usb1      no wireless extensions.
tunl0     no wireless extensions.
eth0      no wireless extensions.
hostapd.conf
nvidia@tegra-ubuntu:~$ cat /etc/hostapd/hostapd.conf 
interface=wlan0
driver=nl80211
ssid=Float1
hw_mode=a
channel=36
#wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
country_code=AU
wpa_passphrase=pwd
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
# N
ieee80211n=1
require_ht=1
# AC
ieee80211ac=1
require_vht=1
ieee80211d=0
ieee80211h=0
wme_enabled=1
wmm_enabled=1
max_num_sta=2
[    0.256504] GPIO line 424 (wifi-enable) hogged as output/high
[    0.258712] GPIO line 315 (wifi-wake-ap) hogged as input
[    6.365206] tegra_net_perf_init: cannot get wifi sclk
[    6.365284] found wifi platform device bcmdhd_wlan
[    6.366479] wifi_platform_get_country_code_map: could not get country_code_map
[    6.366481] wifi_plat_dev_drv_probe:platform country code map is not available
[    6.366496] wifi_platform_set_power = 1
[    6.568313] wifi_platform_bus_enumerate device present 1
[    6.596922] wifi_platform_bus_enumerate device present 0
[    6.682939] wifi_platform_prealloc: failed to alloc static mem section 7
[    6.691451] wifi_platform_get_mac_addr
[    6.912340] wifi_platform_set_power = 0
[    8.192165] wl_android_wifi_on in
[    8.192167] wifi_platform_set_power = 1
[    8.795061] wifi_platform_get_mac_addr
[   19.092409] wl_android_wifi_off in
[   19.130392] wifi_platform_set_power = 0

I’ve set /etc/modprobe.d/bcmdhd.conf
options bcmdhd op_mode=2

When I disable disable hostapd, it still fails, and try to find a network via network manager or manually via /etc/network/inferfaces, it fails to find a network and powers down. I’ve copied the working configuration settings (hostapd,dnsmasq,/etc/network/interfaces) from another tx2.

Hi,

Please try upgrading to rel-32.x and directly use the GUI to create wifi ap to test the functionality first. Thanks