All of lore.kernel.org
 help / color / mirror / Atom feed
* cfg80211_ops
@ 2017-06-22  0:03 Tobin C. Harding
  2017-06-22  0:53 ` cfg80211_ops Igor Mitsyanko
  0 siblings, 1 reply; 5+ messages in thread
From: Tobin C. Harding @ 2017-06-22  0:03 UTC (permalink / raw)
  To: linux-wireless

Hi,

Is some one able to please confirm for me that the following
cfg80211_ops callbacks are enough to implement a minimal functioning
Wi-Fi driver. Assume that a virtual interface is added during driver
initialization.

scan
add_key
get_key
del_key
sat_default_key
connect
disconnect
set_wiphy_params

thanks,
Tobin

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

* Re: cfg80211_ops
  2017-06-22  0:03 cfg80211_ops Tobin C. Harding
@ 2017-06-22  0:53 ` Igor Mitsyanko
  2017-06-22  3:46   ` cfg80211_ops Tobin C. Harding
  2017-06-22  6:30   ` cfg80211_ops Johannes Berg
  0 siblings, 2 replies; 5+ messages in thread
From: Igor Mitsyanko @ 2017-06-22  0:53 UTC (permalink / raw)
  To: Tobin C. Harding, linux-wireless

On 06/21/2017 05:03 PM, Tobin C. Harding wrote:
> 
> Hi,
> 
> Is some one able to please confirm for me that the following
> cfg80211_ops callbacks are enough to implement a minimal functioning
> Wi-Fi driver. Assume that a virtual interface is added during driver
> initialization.
> 
> scan
> add_key
> get_key
> del_key
> sat_default_key
> connect
> disconnect
> set_wiphy_params

Hi, is this for STA-only? I guess you also need
mgmt_frame_register
mgmt_tx

and you don't need *_key callbacks in case its fine to operate without 
encryption.

> 
> thanks,
> Tobin
> 

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

* Re: cfg80211_ops
  2017-06-22  0:53 ` cfg80211_ops Igor Mitsyanko
@ 2017-06-22  3:46   ` Tobin C. Harding
  2017-06-22  6:30   ` cfg80211_ops Johannes Berg
  1 sibling, 0 replies; 5+ messages in thread
From: Tobin C. Harding @ 2017-06-22  3:46 UTC (permalink / raw)
  To: Igor Mitsyanko; +Cc: linux-wireless

On Wed, Jun 21, 2017 at 05:53:13PM -0700, Igor Mitsyanko wrote:
> On 06/21/2017 05:03 PM, Tobin C. Harding wrote:
> >
> >Hi,
> >
> >Is some one able to please confirm for me that the following
> >cfg80211_ops callbacks are enough to implement a minimal functioning
> >Wi-Fi driver. Assume that a virtual interface is added during driver
> >initialization.
> >
> >scan
> >add_key
> >get_key
> >del_key
> >sat_default_key
> >connect
> >disconnect
> >set_wiphy_params
> 
> Hi, is this for STA-only? I guess you also need
> mgmt_frame_register
> mgmt_tx

Thanks for the response Igor. Yes, infrastructure mode only.

> and you don't need *_key callbacks in case its fine to operate without
> encryption.

Cool, thank you.

Tobin

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

* Re: cfg80211_ops
  2017-06-22  0:53 ` cfg80211_ops Igor Mitsyanko
  2017-06-22  3:46   ` cfg80211_ops Tobin C. Harding
@ 2017-06-22  6:30   ` Johannes Berg
  2017-06-22  7:45     ` cfg80211_ops Arend van Spriel
  1 sibling, 1 reply; 5+ messages in thread
From: Johannes Berg @ 2017-06-22  6:30 UTC (permalink / raw)
  To: Igor Mitsyanko, Tobin C. Harding, linux-wireless

On Wed, 2017-06-21 at 17:53 -0700, Igor Mitsyanko wrote:
> 
> > scan
> > add_key
> > get_key
> > del_key
> > sat_default_key
> > connect
> > disconnect
> > set_wiphy_params
> 
> Hi, is this for STA-only? I guess you also need
> mgmt_frame_register
> mgmt_tx

For really basic operation, I don't think you need that, and might even
be able to get away withou set_wiphy_params.

Also, set_default_key is, IIRC, not needed in WPA/WPA2 client mode, but
may be needed for WEP - not sure off the top of my head.

johannes

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

* Re: cfg80211_ops
  2017-06-22  6:30   ` cfg80211_ops Johannes Berg
@ 2017-06-22  7:45     ` Arend van Spriel
  0 siblings, 0 replies; 5+ messages in thread
From: Arend van Spriel @ 2017-06-22  7:45 UTC (permalink / raw)
  To: Johannes Berg, Igor Mitsyanko, Tobin C. Harding, linux-wireless

On 22-06-17 08:30, Johannes Berg wrote:
> Also, set_default_key is, IIRC, not needed in WPA/WPA2 client mode, but
> may be needed for WEP - not sure off the top of my head.

correct (if brcmfmac is).

Gr. AvS

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

end of thread, other threads:[~2017-06-22  7:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-22  0:03 cfg80211_ops Tobin C. Harding
2017-06-22  0:53 ` cfg80211_ops Igor Mitsyanko
2017-06-22  3:46   ` cfg80211_ops Tobin C. Harding
2017-06-22  6:30   ` cfg80211_ops Johannes Berg
2017-06-22  7:45     ` cfg80211_ops Arend van Spriel

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.