kern/176201: [net80211] [patch] 11n station includes unrelated ht params into ASSOC_REQ packet

Adrian Chadd adrian at freebsd.org
Fri Feb 22 18:48:50 UTC 2013


Ah, damn. Sorry. I was thinking about the node versus vap
configuration and got confused.

IBSS is the same as the APmode of operation - you advertise what
you're capable of and sending stations just calculate the
MIN(ampdusize) and MAX(ampdudensity) when sending to you. Exactly the
same needs to be done for AP mode.

STA mode should do the same too - it just happens there's only one
node (the AP.)

We have the same issue with 2040, shortgi, stbc, ldpc - ni_htparams
includes what the peer node has, not necessarily what you've
negotiated. So in the ath(4) driver I needed to look at both what _my_
capabilities are _and_ the remote capabilities before I decide whether
to use 40mhz, shortgi, etc.

It'd be shinier if there were some net80211 functions that did this for me.


Adrian


More information about the freebsd-wireless mailing list