* [PATCH 1/1] cfg80211: Allow P2P client interface to indicate successful 4way handshake by port authorization
@ 2022-06-30 6:38 ` Vinayak Yadawad
0 siblings, 0 replies; 5+ messages in thread
From: Vinayak Yadawad @ 2022-06-22 13:47 UTC (permalink / raw)
To: johannes; +Cc: linux-wireless, jithu.jance, Vinayak Yadawad
[-- Attachment #1: Type: text/plain, Size: 1733 bytes --]
In case of 4way handshake offload, cfg80211_port_authorized
enables driver to indicate successful 4way handshake to cfg80211 layer.
Currently this path of port authorization is restricted to
interface type NL80211_IFTYPE_STATION. This patch extends
the use of port authorization API for P2P client as well.
Signed-off-by: Vinayak Yadawad <vinayak.yadawad@broadcom.com>
---
net/wireless/sme.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/wireless/sme.c b/net/wireless/sme.c
index ff4d48fcbfb2..607a68911047 100644
--- a/net/wireless/sme.c
+++ b/net/wireless/sme.c
@@ -1031,7 +1031,8 @@ void __cfg80211_port_authorized(struct wireless_dev *wdev, const u8 *bssid)
{
ASSERT_WDEV_LOCK(wdev);
- if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION))
+ if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION &&
+ wdev->iftype != NL80211_IFTYPE_P2P_CLIENT))
return;
if (WARN_ON(!wdev->current_bss) ||
--
2.32.0
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4218 bytes --]
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] cfg80211: Allow P2P client interface to indicate successful 4way handshake by port authorization
2022-06-30 6:38 ` Vinayak Yadawad
(?)
@ 2022-06-29 17:23 ` Kalle Valo
[not found] ` <CAMLe8U9R=TktuhY_baVyexKsvArw70wyT-k_=LLpkXASK0M9kw@mail.gmail.com>
-1 siblings, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2022-06-29 17:23 UTC (permalink / raw)
To: Vinayak Yadawad; +Cc: johannes, linux-wireless, jithu.jance
Vinayak Yadawad <vinayak.yadawad@broadcom.com> writes:
> This electronic communication and the information and any files transmitted
> with it, or attached to it, are confidential and are intended solely for
These kind of disclaimers do not belong to public lists.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] cfg80211: Allow P2P client interface to indicate successful 4way handshake by port authorization
[not found] ` <CAMLe8U9R=TktuhY_baVyexKsvArw70wyT-k_=LLpkXASK0M9kw@mail.gmail.com>
@ 2022-06-30 6:32 ` Kalle Valo
2022-06-30 18:19 ` Florian Fainelli
0 siblings, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2022-06-30 6:32 UTC (permalink / raw)
To: Vinayak Yadawad; +Cc: johannes, linux-wireless, Jithu Jance
Vinayak Yadawad <vinayak.yadawad@broadcom.com> writes:
>>>These kind of disclaimers do not belong to public lists.
> This disclosure got added by mistake, I will resend the patch again if needed without the disclaimer footer.
Also please don't top post or use HTML in emails, it's best to ditch
Outlook when sending emails to upstream lists. More information in the
wiki link below.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/1] cfg80211: Allow P2P client interface to indicate successful 4way handshake by port authorization
@ 2022-06-30 6:38 ` Vinayak Yadawad
0 siblings, 0 replies; 5+ messages in thread
From: Vinayak Yadawad @ 2022-06-30 6:38 UTC (permalink / raw)
To: johannes; +Cc: linux-wireless, jithu.jance, Vinayak Yadawad
[-- Attachment #1: Type: text/plain, Size: 947 bytes --]
In case of 4way handshake offload, cfg80211_port_authorized
enables driver to indicate successful 4way handshake to cfg80211 layer.
Currently this path of port authorization is restricted to
interface type NL80211_IFTYPE_STATION. This patch extends
the use of port authorization API for P2P client as well.
Signed-off-by: Vinayak Yadawad <vinayak.yadawad@broadcom.com>
---
net/wireless/sme.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/wireless/sme.c b/net/wireless/sme.c
index ff4d48fcbfb2..607a68911047 100644
--- a/net/wireless/sme.c
+++ b/net/wireless/sme.c
@@ -1031,7 +1031,8 @@ void __cfg80211_port_authorized(struct wireless_dev *wdev, const u8 *bssid)
{
ASSERT_WDEV_LOCK(wdev);
- if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION))
+ if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION &&
+ wdev->iftype != NL80211_IFTYPE_P2P_CLIENT))
return;
if (WARN_ON(!wdev->current_bss) ||
--
2.32.0
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4218 bytes --]
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] cfg80211: Allow P2P client interface to indicate successful 4way handshake by port authorization
2022-06-30 6:32 ` Kalle Valo
@ 2022-06-30 18:19 ` Florian Fainelli
0 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2022-06-30 18:19 UTC (permalink / raw)
To: Kalle Valo, Vinayak Yadawad; +Cc: johannes, linux-wireless, Jithu Jance
On 6/29/22 23:32, Kalle Valo wrote:
> Vinayak Yadawad <vinayak.yadawad@broadcom.com> writes:
>
>>>> These kind of disclaimers do not belong to public lists.
>> This disclosure got added by mistake, I will resend the patch again if needed without the disclaimer footer.
>
> Also please don't top post or use HTML in emails, it's best to ditch
> Outlook when sending emails to upstream lists. More information in the
> wiki link below.
>
This submission ought to be more correct, even if it somehow ended up
with the same Message-Id:
https://lore.kernel.org/linux-wireless/ef25cb49fcb921df2e5d99e574f65e8a009cc52c.1655905440.git.vinayak.yadawad@broadcom.com/#r
--
Florian
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-06-30 18:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22 13:47 [PATCH 1/1] cfg80211: Allow P2P client interface to indicate successful 4way handshake by port authorization Vinayak Yadawad
2022-06-30 6:38 ` Vinayak Yadawad
2022-06-29 17:23 ` Kalle Valo
[not found] ` <CAMLe8U9R=TktuhY_baVyexKsvArw70wyT-k_=LLpkXASK0M9kw@mail.gmail.com>
2022-06-30 6:32 ` Kalle Valo
2022-06-30 18:19 ` Florian Fainelli
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.