Skip to contentSkip to conversation

mwifiex: advertise low priority scan feature

PATCH Superseded Wei-Ning Huang 4 participants 6 messages Mar 21, 2016 – Mar 29, 2016

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mwifiex: advertise low priority scan feature

From: Amitkumar Karwar <[email protected]>

Low priority scan handling code which delays or aborts scan operation based on Tx traffic is removed recently. The reason is firmware already takes care of it in our new feature scan channel gap. Hence we should advertise low priority scan support to cfg80211.

This patch fixes a problem in which OBSS scan request from wpa_supplicant was being rejected by cfg80211.

---
 drivers/net/wireless/marvell/mwifiex/cfg80211.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/marvell/mwifiex/cfg80211.c +1 -0
index bb7235e..7dafc5b 100644
@@ -4086,6 +4086,7 @@ int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter)
 
 	wiphy->features |= NL80211_FEATURE_HT_IBSS |
 			   NL80211_FEATURE_INACTIVITY_TIMER |
+			   NL80211_FEATURE_LOW_PRIORITY_SCAN |
 			   NL80211_FEATURE_NEED_OBSS_SCAN;
 
 	if (ISSUPP_TDLS_ENABLED(adapter->fw_cap_info))
Signature · 1 line
2.8.0.rc3.226.g39d4020
Tested-by on v1 1/1
#1 lore raw
Quoted 31 lines · Wei-Ning Huang

From: Amitkumar Karwar <[email protected]>

Low priority scan handling code which delays or aborts scan operation based on Tx traffic is removed recently. The reason is firmware already takes care of it in our new feature scan channel gap. Hence we should advertise low priority scan support to cfg80211.

This patch fixes a problem in which OBSS scan request from wpa_supplicant was being rejected by cfg80211.

---
 drivers/net/wireless/marvell/mwifiex/cfg80211.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/marvell/mwifiex/cfg80211.c +1 -1
index bb7235e..7dafc5b 100644
@@ -4086,6 +4086,7 @@ int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter)
 
        wiphy->features |= NL80211_FEATURE_HT_IBSS |
                           NL80211_FEATURE_INACTIVITY_TIMER |
+                          NL80211_FEATURE_LOW_PRIORITY_SCAN |
                           NL80211_FEATURE_NEED_OBSS_SCAN;
 
        if (ISSUPP_TDLS_ENABLED(adapter->fw_cap_info))
--

2.8.0.rc3.226.g39d4020

Signature · 6 lines
Wei-Ning Huang, 黃偉寧 | Software Engineer, Google Inc., Taiwan |
[email protected] | Cell: +886 910-380678
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Acked-by on v1 1/1
#2 lore raw
In reply to Wei-Ning Huang
Quoted 36 lines

From: [email protected] [mailto:linux-wireless- [email protected]] On Behalf Of Wei-Ning Huang
Sent: Monday, March 21, 2016 1:37 PM
To: Linux Wireless
Cc: LKML; Amitkumar Karwar; [email protected]; Wei-Ning Huang; Nishant Sarmukadam; [email protected]; [email protected]
Subject: [PATCH] mwifiex: advertise low priority scan feature

From: Amitkumar Karwar <[email protected]>

Low priority scan handling code which delays or aborts scan operation based on Tx traffic is removed recently. The reason is firmware already takes care of it in our new feature scan channel gap. Hence we should advertise low priority scan support to cfg80211.

This patch fixes a problem in which OBSS scan request from wpa_supplicant was being rejected by cfg80211.

---
 drivers/net/wireless/marvell/mwifiex/cfg80211.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/marvell/mwifiex/cfg80211.c +1 -0
index bb7235e..7dafc5b 100644
@@ -4086,6 +4086,7 @@ int mwifiex_register_cfg80211(struct
 mwifiex_adapter *adapter)
 
 	wiphy->features |= NL80211_FEATURE_HT_IBSS |
 			   NL80211_FEATURE_INACTIVITY_TIMER |
+			   NL80211_FEATURE_LOW_PRIORITY_SCAN |
 			   NL80211_FEATURE_NEED_OBSS_SCAN;
 
Quoted 1 line

if (ISSUPP_TDLS_ENABLED(adapter->fw_cap_info))

Regards,
Amitkumar

#3 lore raw
In reply to Wei-Ning Huang
Quoted 8 lines · Wei-Ning Huang

From: Amitkumar Karwar <[email protected]>

Low priority scan handling code which delays or aborts scan operation based on Tx traffic is removed recently. The reason is firmware already takes care of it in our new feature scan channel gap. Hence we should advertise low priority scan support to cfg80211.

Quoted 4 lines

This patch fixes a problem in which OBSS scan request from wpa_supplicant was being rejected by cfg80211.

The From line states that this is written by Amitkumar but there's no Signed-off-By line from him. I can't take this without that, please resend.

(Wei-Ning's s-o-b line is correct, I just need also Amitkumar's line.)

Signature · 5 lines
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw

Hi Kalle,

Thanks for the review. I accidentally removed the s-o-b line from akarwar in this version.
The original patch can be found at:
https://chromium-review.googlesource.com/#/c/246052/
I've resent a new one.

Wei-Ning

Quoted 23 lines · Kalle Valo
Quoted 8 lines · Wei-Ning Huang

From: Amitkumar Karwar <[email protected]>

Low priority scan handling code which delays or aborts scan operation based on Tx traffic is removed recently. The reason is firmware already takes care of it in our new feature scan channel gap. Hence we should advertise low priority scan support to cfg80211.

Quoted 4 lines

This patch fixes a problem in which OBSS scan request from wpa_supplicant was being rejected by cfg80211.

The From line states that this is written by Amitkumar but there's no Signed-off-By line from him. I can't take this without that, please resend.

(Wei-Ning's s-o-b line is correct, I just need also Amitkumar's line.)

--
Kalle Valo

Signature · 2 lines
Wei-Ning Huang, 黃偉寧 | Software Engineer, Google Inc., Taiwan |
[email protected] | Cell: +886 910-380678
#5 lore raw

I've resent the patch here: https://patchwork.kernel.org/patch/8637861/
Thanks!

Wei-Ning

Quoted 40 lines · Wei-Ning Huang

Hi Kalle,

Thanks for the review. I accidentally removed the s-o-b line from akarwar in this version.
The original patch can be found at:
https://chromium-review.googlesource.com/#/c/246052/
I've resent a new one.

Wei-Ning

Quoted 15 lines · Kalle Valo
Quoted 8 lines · Wei-Ning Huang

From: Amitkumar Karwar <[email protected]>

Low priority scan handling code which delays or aborts scan operation based on Tx traffic is removed recently. The reason is firmware already takes care of it in our new feature scan channel gap. Hence we should advertise low priority scan support to cfg80211.

Quoted 4 lines

This patch fixes a problem in which OBSS scan request from wpa_supplicant was being rejected by cfg80211.

Quoted 8 lines

The From line states that this is written by Amitkumar but there's no Signed-off-By line from him. I can't take this without that, please resend.

(Wei-Ning's s-o-b line is correct, I just need also Amitkumar's line.)

--
Kalle Valo

--
Wei-Ning Huang, 黃偉寧 | Software Engineer, Google Inc., Taiwan | [email protected] | Cell: +886 910-380678

Signature · 2 lines
Wei-Ning Huang, 黃偉寧 | Software Engineer, Google Inc., Taiwan |
[email protected] | Cell: +886 910-380678