- Use device's channel list instead of default one (from ieee80211_init_channels()).
- Sort channels (ieee80211_add_channel_list_* requirement).
- Add ic_getradiocaps() method.
Details
Details
- Reviewers
adrian - Commits
- rS298894: otus: switch to ieee80211_add_channel_list_*()
Needs testing.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
sys/dev/otus/if_otus.c | ||
---|---|---|
832 | Do you need to memset() on bands first before doing the 11n bands? |
sys/dev/otus/if_otus.c | ||
---|---|---|
832 | Not for add_channel_list (there is two (2ghz and 5ghz) methods for init_channels() compatibility - which accepts 'const uint8_t bands[]' array) |
sys/dev/otus/if_otus.c | ||
---|---|---|
832 | The above is right for 5ghz & 2ghz bits; for 11n you should just set MODE_11NG (or MODE_11NA) bit. |