diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2026-06-22 00:07:16 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2026-06-22 01:21:38 +0000 |
| commit | 08a78a296c840aa95ec13895c3c9bf1349becbae (patch) | |
| tree | 370dab35e910f0b517e9cca38b6e9d2ed8b5cec4 | |
| parent | 557eed60d2a34d061350ac37acebe6686cd80d83 (diff) | |
LinuxKPI: 802.11: add/improve/correct comments
Adjust/add comments to clarify certain situations.
No functional changes.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
| -rw-r--r-- | sys/compat/linuxkpi/common/src/linux_80211.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c index e2f5037240a2..6f5e2756f421 100644 --- a/sys/compat/linuxkpi/common/src/linux_80211.c +++ b/sys/compat/linuxkpi/common/src/linux_80211.c @@ -2991,7 +2991,7 @@ lkpi_sta_assoc_to_run(struct ieee80211vap *vap, enum ieee80211_state nstate, int IMPROVE("ponder some of this moved to ic_newassoc, scan_assoc_success, " "and to lesser extend ieee80211_notify_node_join"); - /* Finish assoc. (even if this is auth_to_run!) */ + /* Finish assoc. */ /* Update sta_state (AUTH to ASSOC) and set aid. */ KASSERT(lsta->state == IEEE80211_STA_AUTH, ("%s: lsta %p state not " "AUTH: %#x\n", __func__, lsta, lsta->state)); @@ -5914,7 +5914,7 @@ lkpi_80211_txq_tx_one(struct lkpi_sta *lsta, struct mbuf *m) info->flags |= IEEE80211_TX_CTL_AMPDU; } - /* XXX-BZ info->control.rates */ + /* XXX-BZ info->control.rates for non-HW rate control and injected packets. */ #ifdef __notyet__ #ifdef LKPI_80211_HT info->control.rts_cts_rate_idx= @@ -8514,6 +8514,7 @@ lkpi_wiphy_band_annotate(struct wiphy *wiphy) continue; } + /* Band bitrates are times 10; e.g., 55 is 5.5Mbit/s. */ for (i = 0; i < supband->n_bitrates; i++) { switch (band) { case NL80211_BAND_2GHZ: |
