On Monday, August 8, 2022 7:40:19 PM EDT Jonathan Gray wrote:
> On Mon, Aug 08, 2022 at 11:40:17AM -0400, Farhan Khan wrote:
> > Hi all,
> > 
> > I am trying to understand the different channels in `struct ieee80211com`.
> > I see 2 types of ieee80211_channel values: * ic_ibss_chan
> > * ic_des_chan - Desired channel, pretty straight forward
> > 
> > What is ic_ibss_chan used for? My initial guess was that it was the
> > "current channel", but given that other implementations of net80211
> > (NetBSD, FreeBSD, Illumos) have `ic_curchan`, it does not seem to be the
> > current channel.
> > 
> > What is ic_ibss_channel used for? And where is the current channel
> > information stored?
> refer to the definitions in the 802.11 spec
> independent basic service set (IBSS) also known as ad hoc, no AP
> basic service set (BSS) also known as infrastructure
> 
> for channel see SIOCS80211CHANNEL and ni_chan in struct ieee80211_node

Thank you for your reply!

Just to make sure I understand properly, `ic_ibss_chan` is used for Ad hoc or 
monitor mode, whereas infrastructure mode (BSS) uses `ieee80211_node` which 
specifies the channel.

Thank you!

- Farhan



Reply via email to