1. 13 11月, 2011 3 次提交
    • R
      ath6kl: Fix cfg80211 warning while starting IBSS mode · 4eab6f4f
      Raja Mani 提交于
      When the connect event is received from the target in IBSS mode,
      cfg80211_ibss_joined() is called without informing BSS info to
      cfg80211 layer which internally hits the below WARN_ON message.
      
      WARNING: at net/wireless/ibss.c:33 __cfg80211_ibss_joined+0x153/0x180 [cfg80211]()
      [..]
      [ 4916.845878] Call Trace:
      [ 4916.845889]  [<c10427d2>] warn_slowpath_common+0x72/0xa0
      [ 4916.845905]  [<f8bccc63>] ? __cfg80211_ibss_joined+0x153/0x180 [cfg80211]
      [ 4916.845918]  [<f8bccc63>] ? __cfg80211_ibss_joined+0x153/0x180 [cfg80211]
      [ 4916.845923]  [<c1042822>] warn_slowpath_null+0x22/0x30
      [ 4916.845934]  [<f8bccc63>] __cfg80211_ibss_joined+0x153/0x180 [cfg80211]
      [ 4916.845941]  [<c1025108>] ? default_spin_lock_flags+0x8/0x10
      [ 4916.845952]  [<f8bb7fcd>] cfg80211_process_rdev_events+0x19d/0x220 [cfg80211]
      [ 4916.845962]  [<f8bb669b>] cfg80211_event_work+0x2b/0x50 [cfg80211]
      [ 4916.845968]  [<c105aae6>] process_one_work+0x116/0x3c0
      [ 4916.845977]  [<f8bb6670>] ? cfg80211_get_dev_from_info+0x40/0x40 [cfg80211]
      [ 4916.845982]  [<c105cdf0>] worker_thread+0x140/0x3b0
      [ 4916.845986]  [<c105ccb0>] ? manage_workers+0x1f0/0x1f0
      [ 4916.845991]  [<c1060c64>] kthread+0x74/0x80
      [ 4916.845995]  [<c1060bf0>] ? kthread_worker_fn+0x160/0x160
      [ 4916.846001]  [<c14e7bbe>] kernel_thread_helper+0x6/0x10
      [ 4916.846005] ---[ end trace 769254924e409367 ]---
      
      This patch make sures that BSS info is delivered via cfg80211_inform_bss()
      to cfg80211 in advance before intimating IBSS status to cfg80211.
      
      In addition to this, one debug message is also added to know
      ad-hoc mode status (creator/joiner).
      
      kvalo: change subject
      Signed-off-by: NRaja Mani <rmani@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      4eab6f4f
    • D
      b8214df1
    • D
      ath6kl: Add support for configuring SMS4 keys · 5e07021e
      Dai Shuibing 提交于
      Indicate support for WPI-SMS4 cipher and allow SMS4 keys to be
      configured.
      Signed-off-by: NDai Shuibing <shuibing@qca.qualcomm.com>
      Signed-off-by: NJouni Malinen <jouni@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      5e07021e
  2. 11 11月, 2011 37 次提交