On 11 Mar 2010, at 16:32, Alexander Egorenkov wrote:

There are already constants defined in iee80211.h.
E.g. IEEE80211_HTCAP_MCSFBACK_UNSOL.

But the problem is that e.g. IEEE80211_HTCAP_MCSFBACK_UNSOL is equal to 0x0200 and the capabilty constant IEEE80211_HTCAP_RXSTBC_2STREAM has the same value. So we cannot use ic_htcap field for both capabilities because they will overwrite each other.

But we can add a new field to ieee80211com struct like ic_htextcaps where all the extended HT capabilities can be set. And this new field can be checked in function ieee80211_add_htcap_body.

I'm okay with this route.

Another option is to change the value of IEEE80211_HTCAP_MCSFBACK_UNSOL and all other extended capability constant which conflict with normal HT capability constants.

I think you don't want to do this because sooner or later you'll need ic_htextcaps.

--
Rui Paulo

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to