Skip to contentSkip to conversation

ieee80211: Update generic definitions to latest specs.

PATCH Jiri Benc 2 participants 2 messages Jun 3, 2005 – Jun 4, 2005 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jiri Benc

author
#1 lore raw
Quoted 4 lines · On Thu, 2 Jun 2005 21:02:24 +0200, [email protected] wrote:

I was thinking about that too, but couldn't find a proper shorter version without losing the descriptive meaning.

Do you have any suggestions to shorten them?

Maybe we can lose a bit of descriptiveness and put comments above definitions instead?

I can imagine names such as WLAN_STATUS_ASSOC_DENIED_NOSPECTRUM, WLAN_STATUS_ASSOC_DENIED_BAD_POWER, WLAN_STATUS_ASSOC_DENIED_BAD_SUPPCHANNS, WLAN_REASON_DISASSOC_BAD_POWER, and so on. Also WLAN_STATUS_ASSOC_DENIED_NOSHORT seems to be acceptable for me.

More often used identifiers probably could have even shorter name - what about renaming IEEE80211_FCTL_PROTECTEDFRAME to IEEE80211_FCTL_PROTECTED?

Thanks,

Signature · 2 lines
Jiri Benc
SUSE Labs
#2 lore raw
Quoted 2 lines · Jiri Benc

and so on. Also WLAN_STATUS_ASSOC_DENIED_NOSHORT seems to be acceptable for me.

That would be just asking for problems. IEEE 802.11 uses "short" in number of terms and two of them happen to be already part of capabilities negotatiation (short preamble and short slot time) and both have status codes for rejecting association.. In other words, the constants/enums better include PREAMBLE and SLOTTIME in the name.

Signature · 1 line
Jouni Malinen                                            PGP id EFC895FA