1. Development environment Qualcomm 9377wifi chip kernel-4.1.15 android6.0
question: the kernel reported an error when connecting to AP for the first time:
R0: wlan: [584csrSendJoinReqMsg: E: SME] csrSendJoinReqMsg: 14463: Connecting to ssid:Public_5G bssid: f4:83:cd:70:13:39 rssi:-45 channel: 44 country_code: US
R0: wlan: [584VE: WDA] wma_create_peer: Created peer with peer_addr f4:83:cd:70:13:39 vdev_id 0, peer_count-1
R0: wlan: [584RV E: WDA] BSS chan width: quarterrate_flag: 0, Halfrate_flag: 0
-[cut here]-
WARNING: CPU: 1 PID: 614 at kernel/softirq.c:150 _ local_bh_enable_ip+0xb0/0xdc ()
Modules linked in: gt9xx wlan (O)
CPU: 1 PID: 614 Comm: AR6K RxCompleti Tainted: G O 4.1.15-g2a34798-dirty-sharp176
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[< c010f0a4 >] (unwind_backtrace ) from [< c010b488 >] (show_stack+0x10/0x14)
[< c010b488 >] (show_stack) from [< c0a41a5c >] (dump_stack+0x84/0xc4)
[< c0a41a5c >] (dump_stack) from [< c0129a38 >] (warn_slowpath_common+0x88/0xb8)
[< c0129a38 >] (warn_slowpath_common) from [< c0129b04 >] (warn_slowpath_null+0x1c/0x24)
[< c0129b04 >] (warn_slowpath_null) from [< c012d58c >] (_ _ local_bh_enable_ip+0xb0/0xdc)
[< c012d58c >] (_ _ local_bh_enable_ip) from [< bf021b5c >] (hdd_get_front_adapter+0x30/0x38 [wlan])
[< bf021b5c >] (hdd_get_front_adapter [wlan]) from [< bf0235fc >] (hdd_get_adapter_by_vdev+0x24/0xa0 [wlan])
[< bf0235fc >] (hdd_get_adapter_by_vdev [wlan]) from [< bf17ec30 >] (wlan_pkt_stats_to_logger_thread+0x254/0x2ec [wlan])
[< bf17ec30 >] (wlan_pkt_ Stats_to_logger_thread [wlan]) from [< bf21b1b4 >] (ol_tx_single_completion_handler+0x11c/0x1d0 [wlan])
[< bf21b1b4 >] (ol_tx_single_completion_handler [wlan]) from [< bf245a24 >] (htt_t2h_lp_msg_handler+0x3f0/0x73c [wlan])
[< bf245a24 >] (htt_t2h_lp_msg_handler [wlan]) from [< bf235034 >] (ieee80211_ioctl_get_htc_stats+0x94/0x1b4 [wlan])
[< bf235034 >] (ieee80211_ Ioctl_get_htc_stats [wlan]) from [< bf2358dc >] (HTCRxCompletionHandler+0x4c4/0x8ec [wlan])
[< bf2358dc >] (HTCRxCompletionHandler [wlan]) from [< bf239894 >] (HIFSetBundleMode+0x1d8/0x2a4 [wlan])
[< bf239894 >] (HIFSetBundleMode [wlan]) from [< bf239dbc >] (rx_completion_task+0x45c/0x588 [wlan])
[< bf239dbc >] (rx_completion_task [wlan]) from [< c0143ccc >] (kthread+0xdc/0xf4)
[< c0143ccc >] (kthread) from [< c0107628 >] (ret_from_fork+0x14) / 0x2c)
-[end trace 2d2d27e4e06813cf]-
from the point of view of log, it is the problem of interruption when connecting to wifi. Causes a warning raised by a call to the kernel"s _ _ local_bh_enable_ip.
what puzzles me now is that this warning has the potential to cause the wifi driver to hang up. But there has been no solution.
I hope to have a boss who knows the wifi driver to help solve the puzzle.