All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] mwifiex: uap: filter duplicate ERP IE
@ 2018-04-02 12:31 Xinming Hu
  2018-04-02 12:31 ` [PATCH 2/2] mwifiex: uap: support cfg80211 ignore_broadcast_ssid=2 Xinming Hu
  2018-04-25  8:18 ` [1/2] mwifiex: uap: filter duplicate ERP IE Kalle Valo
  0 siblings, 2 replies; 3+ messages in thread
From: Xinming Hu @ 2018-04-02 12:31 UTC (permalink / raw)
  To: Linux Wireless
  Cc: Kalle Valo, Brian Norris, Dmitry Torokhov, rajatja, Zhiyuan Yang,
	Tim Song, Cathy Luo, James Cao, Ganapathi Bhat, Ellie Reeves,
	Xinming Hu

Firmware parse and attach ERP IE from bss configuration,
do not set again from tail IE.

Signed-off-by: Xinming Hu <huxm@marvell.com>
---
 drivers/net/wireless/marvell/mwifiex/ie.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/marvell/mwifiex/ie.c b/drivers/net/wireless/marvell/mwifiex/ie.c
index 922e3d6..b10baac 100644
--- a/drivers/net/wireless/marvell/mwifiex/ie.c
+++ b/drivers/net/wireless/marvell/mwifiex/ie.c
@@ -349,6 +349,7 @@ static int mwifiex_uap_parse_tail_ies(struct mwifiex_private *priv,
 		case WLAN_EID_SUPP_RATES:
 		case WLAN_EID_COUNTRY:
 		case WLAN_EID_PWR_CONSTRAINT:
+		case WLAN_EID_ERP_INFO:
 		case WLAN_EID_EXT_SUPP_RATES:
 		case WLAN_EID_HT_CAPABILITY:
 		case WLAN_EID_HT_OPERATION:
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] mwifiex: uap: support cfg80211 ignore_broadcast_ssid=2
  2018-04-02 12:31 [PATCH 1/2] mwifiex: uap: filter duplicate ERP IE Xinming Hu
@ 2018-04-02 12:31 ` Xinming Hu
  2018-04-25  8:18 ` [1/2] mwifiex: uap: filter duplicate ERP IE Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Xinming Hu @ 2018-04-02 12:31 UTC (permalink / raw)
  To: Linux Wireless
  Cc: Kalle Valo, Brian Norris, Dmitry Torokhov, rajatja, Zhiyuan Yang,
	Tim Song, Cathy Luo, James Cao, Ganapathi Bhat, Ellie Reeves,
	Xinming Hu

Firmware already support hidden ssid and keep ssid length,
Open the capability in driver.

Signed-off-by: Xinming Hu <huxm@marvell.com>
---
 drivers/net/wireless/marvell/mwifiex/cfg80211.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
index 52bdb71..8b2aab1 100644
--- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
@@ -1959,7 +1959,8 @@ static int mwifiex_cfg80211_start_ap(struct wiphy *wiphy,
 		bss_cfg->bcast_ssid_ctl = 0;
 		break;
 	case NL80211_HIDDEN_SSID_ZERO_CONTENTS:
-		/* firmware doesn't support this type of hidden SSID */
+		bss_cfg->bcast_ssid_ctl = 2;
+		break;
 	default:
 		kfree(bss_cfg);
 		return -EINVAL;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [1/2] mwifiex: uap: filter duplicate ERP IE
  2018-04-02 12:31 [PATCH 1/2] mwifiex: uap: filter duplicate ERP IE Xinming Hu
  2018-04-02 12:31 ` [PATCH 2/2] mwifiex: uap: support cfg80211 ignore_broadcast_ssid=2 Xinming Hu
@ 2018-04-25  8:18 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2018-04-25  8:18 UTC (permalink / raw)
  To: Xinming Hu
  Cc: Linux Wireless, Brian Norris, Dmitry Torokhov, rajatja,
	Zhiyuan Yang, Tim Song, Cathy Luo, James Cao, Ganapathi Bhat,
	Ellie Reeves, Xinming Hu

Xinming Hu <huxm@marvell.com> wrote:

> Firmware parse and attach ERP IE from bss configuration,
> do not set again from tail IE.
> 
> Signed-off-by: Xinming Hu <huxm@marvell.com>

2 patches applied to wireless-drivers-next.git, thanks.

d6c38be09af0 mwifiex: uap: filter duplicate ERP IE
c1003538bf6b mwifiex: uap: support cfg80211 ignore_broadcast_ssid=2

-- 
https://patchwork.kernel.org/patch/10319683/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-25  8:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-02 12:31 [PATCH 1/2] mwifiex: uap: filter duplicate ERP IE Xinming Hu
2018-04-02 12:31 ` [PATCH 2/2] mwifiex: uap: support cfg80211 ignore_broadcast_ssid=2 Xinming Hu
2018-04-25  8:18 ` [1/2] mwifiex: uap: filter duplicate ERP IE Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.