Skip to contentSkip to conversation

d80211: Switch d80211.h to IEEE80211_ style names

PATCH In review Michael Wu 2 participants 5 messages Jul 25, 2006 – Jul 26, 2006

Subsystems (2)
lore
Share & tools
lore

Michael Wu

author
#0 lore raw

PATCH 1/1 d80211: Switch d80211.h to IEEE80211_ style names

Big patches are fun.

These two attached patches also roll in a switch to MAC_FMT and MAC_ARG, and use IEEE80211_DATA_LEN when possible. Otherwise, it's the same as before except split into two patches.

Thanks,
-Michael Wu

#1 lore raw
Quoted 3 lines · Michael Wu

These two attached patches also roll in a switch to MAC_FMT and MAC_ARG, and use IEEE80211_DATA_LEN when possible. Otherwise, it's the same as before except split into two patches.

Nice, thanks a lot.

One more thing (hopefully the last one), could you try to keep lines under 80 characters? I understand that with such long identifiers it is not always possible (it dramatically reduces readability of the code if you try to force the limit in every case) but there are some places where it is feasible.

Also, when changing a line that is indented with spaces instead of tab characters, it's nice to convert that spaces to tabs. That's not a requirement, though; I will modify the patch if you won't do it.

Thanks,

Jiri

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

One more thing (hopefully the last one), could you try to keep lines under 80 characters? I understand that with such long identifiers it is not always possible (it dramatically reduces readability of the code if you try to force the limit in every case) but there are some places where it is feasible.

Ah, yeah, that was a problem..

Quoted 4 lines

Also, when changing a line that is indented with spaces instead of tab characters, it's nice to convert that spaces to tabs. That's not a requirement, though; I will modify the patch if you won't do it.

I still want to convert d80211_mgmt.h. Once that's done, I'll look through for those tabs/spaces & long lines formatting issues. I won't mind if you start fixing some of those issues now, however. :)

-Michael Wu

#3 lore raw
Quoted 3 lines · Michael Wu

I still want to convert d80211_mgmt.h. Once that's done, I'll look through for those tabs/spaces & long lines formatting issues. I won't mind if you start fixing some of those issues now, however. :)

I just meant running some s/ {8}/\t/ on your patch :-)

Also, I don't want to fix all of tab issues in d80211 by one big patch. I always have several patches pending (and other people probably too) and it leads to unnecessary rejects when applying them. Instead, I gradually correct them when changing corresponding lines.

Thanks,

Jiri

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

I just meant running some s/ {8}/\t/ on your patch :-)

Also, I don't want to fix all of tab issues in d80211 by one big patch. I always have several patches pending (and other people probably too) and it leads to unnecessary rejects when applying them. Instead, I gradually correct them when changing corresponding lines.

Ah. Well, if you don't mind doing the space->tabs fix, please do. I don't know if I can get to that soon enough.

Thanks,
-Michael Wu