Same problem here. I'm on a Nexus 2013 5.0.2 ROM. I've tried different strategies of connecting the TP-LINK WN722n (at boot, after boot, disabling internal wifi etc). but none seemed to work. Here are my outputs:
uname -a
Code:
Linux kali 3.4.0-g17bf21c-dirty #1 SMP PREEMPT Fri Mar 27 22:43:30 EDT 2015 armv7l GNU/Linux
lsusb
Code:
Bus 001 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
iwconfig
Code:
lo no wireless extensions.
wlan1 no wireless extensions.
.
wlan0 Qcom:802.11n ESSID:"Goldencanal_5ghz" Nickname:""
Mode:Managed Frequency:5.22 GHz Access Point: 08:60:6E:21:96:14
Bit Rate=150 Mb/s Tx-Power=20 dBm
RTS thr=2347 B Fragment thr=8000 B
Encryption key:0180-8007-66C7-8C3B-8D18-76C3-B754-90E5 [3] Security mode:restricted
p2p0 Qcom:802.11n ESSID:off/any Nickname:""
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=0 dBm
RTS thr=2347 B Fragment thr=8000 B
Encryption key:off
dmesg
Code:
[ 169.507537] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 169.507598] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 169.507690] usb usb1: Product: Qualcomm On-Chip EHCI Host Controller
[ 169.507812] usb usb1: Manufacturer: Linux 3.4.0-g17bf21c-dirty ehci_hcd
[ 169.507873] usb usb1: SerialNumber: msm_hsusb_host
[ 169.511230] hub 1-0:1.0: USB hub found
[ 169.511322] hub 1-0:1.0: 1 port detected
[ 169.763885] portsc = 88001205
[ 169.827209] usb 1-1: new high-speed USB device number 2 using msm_hsusb_host
[ 169.896942] portsc = 88001205
[ 170.002380] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271
[ 170.002777] usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 170.003021] usb 1-1: Product: USB2.0 WLAN
[ 170.003356] usb 1-1: Manufacturer: ATHEROS
[ 170.003570] usb 1-1: SerialNumber: 12345
[ 170.013580] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
[ 170.016143] B_CONN set
[ 170.016174] deleting a_wait_vrise timer. remaining -670 msec
[ 170.355468] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[ 170.593963] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
[ 171.036743] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
[ 171.036987] ath: EEPROM regdomain: 0x809c
[ 171.037017] ath: EEPROM indicates we should expect a country code
[ 171.037017] ath: doing EEPROM country->regdmn map search
[ 171.037048] ath: country maps to regdmn code: 0x52
[ 171.037078] ath: Country alpha2 being used: CN
[ 171.037078] ath: Regpair used: 0x52
[ 171.047119] wlan: [2914:F :HDD] hdd_netdev_notifier_call: HDD Context Null Pointer
[ 171.047363] VOS ASSERT in hdd_netdev_notifier_call Line 244
[ 171.047698] ------------[ cut here ]------------
[ 171.047943] WARNING: at drivers/staging/prima/CORE/HDD/src/wlan_hdd_main.c:244 hdd_netdev_notifier_call+0xbc/0x1a0()
[ 171.048339] Modules linked in:
[ 171.048767] [<c001567c>] (unwind_backtrace+0x0/0x11c) from [<c007a278>] (warn_slowpath_common+0x4c/0x64)
[ 171.049194] [<c007a278>] (warn_slowpath_common+0x4c/0x64) from [<c007a2a8>] (warn_slowpath_null+0x18/0x1c)
[ 171.049591] [<c007a2a8>] (warn_slowpath_null+0x18/0x1c) from [<c066f55c>] (hdd_netdev_notifier_call+0xbc/0x1a0)
[ 171.051727] [<c066f55c>] (hdd_netdev_notifier_call+0xbc/0x1a0) from [<c009c9c4>] (notifier_call_chain+0x38/0x68)
[ 171.053466] [<c009c9c4>] (notifier_call_chain+0x38/0x68) from [<c009ca14>] (raw_notifier_call_chain+0x14/0x18)
[ 171.053894] [<c009ca14>] (raw_notifier_call_chain+0x14/0x18) from [<c08433ec>] (register_netdevice+0x18c/0x3a4)
[ 171.054321] [<c08433ec>] (register_netdevice+0x18c/0x3a4) from [<c09ae084>] (ieee80211_if_add+0x59c/0x670)
[ 171.054595] [<c09ae084>] (ieee80211_if_add+0x59c/0x670) from [<c09a04dc>] (ieee80211_register_hw+0x53c/0x658)
[ 171.055023] [<c09a04dc>] (ieee80211_register_hw+0x53c/0x658) from [<c04b3d48>] (ath9k_htc_probe_device+0x600/0x7bc)
[ 171.055664] [<c04b3d48>] (ath9k_htc_probe_device+0x600/0x7bc) from [<c04ac5f4>] (ath9k_htc_hw_init+0x10/0x2c)
[ 171.056091] [<c04ac5f4>] (ath9k_htc_hw_init+0x10/0x2c) from [<c04ade74>] (ath9k_hif_usb_firmware_cb+0x17c/0x1a0)
[ 171.056488] [<c04ade74>] (ath9k_hif_usb_firmware_cb+0x17c/0x1a0) from [<c03e3804>] (request_firmware_work_func+0xa8/0xe4)
[ 171.056945] [<c03e3804>] (request_firmware_work_func+0xa8/0xe4) from [<c0093554>] (process_one_work+0x220/0x42c)
[ 171.057342] [<c0093554>] (process_one_work+0x220/0x42c) from [<c0093aa4>] (worker_thread+0x19c/0x2bc)
[ 171.057739] [<c0093aa4>] (worker_thread+0x19c/0x2bc) from [<c0097510>] (kthread+0x84/0x94)
[ 171.058013] [<c0097510>] (kthread+0x84/0x94) from [<c000f8f4>] (kernel_thread_exit+0x0/0x8)
[ 171.058380] ---[ end trace 1eca56b2777cf0aa ]---
[ 171.068237] wlan: [2914:F :HDD] hdd_netdev_notifier_call: HDD Context Null Pointer
[ 171.068359] VOS ASSERT in hdd_netdev_notifier_call Line 244
[ 171.068511] ------------[ cut here ]------------
[ 171.068634] WARNING: at drivers/staging/prima/CORE/HDD/src/wlan_hdd_main.c:244 hdd_netdev_notifier_call+0xbc/0x1a0()
[ 171.068786] Modules linked in:
[ 171.068969] [<c001567c>] (unwind_backtrace+0x0/0x11c) from [<c007a278>] (warn_slowpath_common+0x4c/0x64)
[ 171.069122] [<c007a278>] (warn_slowpath_common+0x4c/0x64) from [<c007a2a8>] (warn_slowpath_null+0x18/0x1c)
[ 171.069305] [<c007a2a8>] (warn_slowpath_null+0x18/0x1c) from [<c066f55c>] (hdd_netdev_notifier_call+0xbc/0x1a0)
[ 171.069488] [<c066f55c>] (hdd_netdev_notifier_call+0xbc/0x1a0) from [<c009c9c4>] (notifier_call_chain+0x38/0x68)
[ 171.069671] [<c009c9c4>] (notifier_call_chain+0x38/0x68) from [<c009ca14>] (raw_notifier_call_chain+0x14/0x18)
[ 171.069824] [<c009ca14>] (raw_notifier_call_chain+0x14/0x18) from [<c0843550>] (register_netdevice+0x2f0/0x3a4)
[ 171.070007] [<c0843550>] (register_netdevice+0x2f0/0x3a4) from [<c09ae084>] (ieee80211_if_add+0x59c/0x670)
[ 171.070190] [<c09ae084>] (ieee80211_if_add+0x59c/0x670) from [<c09a04dc>] (ieee80211_register_hw+0x53c/0x658)
[ 171.070312] [<c09a04dc>] (ieee80211_register_hw+0x53c/0x658) from [<c04b3d48>] (ath9k_htc_probe_device+0x600/0x7bc)
[ 171.070465] [<c04b3d48>] (ath9k_htc_probe_device+0x600/0x7bc) from [<c04ac5f4>] (ath9k_htc_hw_init+0x10/0x2c)
[ 171.070648] [<c04ac5f4>] (ath9k_htc_hw_init+0x10/0x2c) from [<c04ade74>] (ath9k_hif_usb_firmware_cb+0x17c/0x1a0)
[ 171.070831] [<c04ade74>] (ath9k_hif_usb_firmware_cb+0x17c/0x1a0) from [<c03e3804>] (request_firmware_work_func+0xa8/0xe4)
[ 171.071014] [<c03e3804>] (request_firmware_work_func+0xa8/0xe4) from [<c0093554>] (process_one_work+0x220/0x42c)
[ 171.071166] [<c0093554>] (process_one_work+0x220/0x42c) from [<c0093aa4>] (worker_thread+0x19c/0x2bc)
[ 171.071350] [<c0093aa4>] (worker_thread+0x19c/0x2bc) from [<c0097510>] (kthread+0x84/0x94)
[ 171.071533] [<c0097510>] (kthread+0x84/0x94) from [<c000f8f4>] (kernel_thread_exit+0x0/0x8)
[ 171.071624] ---[ end trace 1eca56b2777cf0ab ]---
[ 171.073059] ieee80211 phy1: Atheros AR9271 Rev:1
[ 171.074737] cfg80211: Calling CRDA for country: CN
[ 171.075836] ieee80211 phy0: info: cfg80211 reg_notifier callback for country CN
[ 171.075866] ieee80211 phy0: country: NL set by driver
[ 171.075927] cfg80211: Current regulatory domain intersected:
[ 171.076019] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 171.076202] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 171.076293] cfg80211: (2457000 KHz - 2482000 KHz @ 25000 KHz), (N/A, 2000 mBm)
[ 171.076446] cfg80211: (2474000 KHz - 2482000 KHz @ 8000 KHz), (N/A, 2000 mBm)
[ 171.076599] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 171.081604] Registered led device: ath9k_htc-phy1
[ 180.440460] wlan: [814:E :SME] sme_QosPmcDeviceStateUpdateInd: 7219: nothing to process in PMC state 6
[ 180.440643] wlan: [884:E :HDD] hdd_conf_arp_offload:
[ 180.440643]
[ 180.855133] mipi_JDI_set_backlight: pwm disable
[ 180.945739] mipi_JDI_lcd_off+
[ 180.945739] mipi_JDI_lcd_off, JDI display off command+
[ 181.065734] mipi_JDI_lcd_off, JDI display off command-
[ 181.065734] mipi_JDI_lcd_off-
[ 181.065795] mipi_dsi_panel_power+, on=0
[ 181.148162] mipi_dsi_panel_power-
[ 181.155670] EXT_COMMON: hdmi_common_wta_hpd: '1' (unchanged)
[ 181.157226] request_suspend_state: sleep (0->3) at 181142126864 (2015-04-07 10:43:29.019365747 UTC)
[ 181.157684] early_suspend: call handlers
[ 181.157958] [ektf3k]:[elan] elan_ktf3k_ts_suspend: enter
[ 181.158905] active wake lock sns_async_ev_wakelock
[ 181.159088] active wake lock msm_otg
[ 181.159423] active wake lock PowerManagerService.Display
[ 181.159545] PM: Syncing filesystems...