Skip to contentSkip to conversation

mac80211 organization

DISCUSSION Johannes Berg 1 participant 1 message Jun 6, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1212705015.6340.58.camel@brick

#1 lore raw
Quoted 1 line · Harvey Harrison

Could you give me a quick rundown of the differences/thoughts behind

Sure.

Quoted 1 line

include/linux/ieee80211.h

That's intended for IEEE 802.11 specific stuff that full-mac drivers could use too, mostly protocol-related defines and helper macros/inlines (it has no corresponding .c file so you can't have actual functions.)

Quoted 1 line

include/linux/net/mac80211.h

That declares the mac80211 specific stuff.

Quoted 1 line

and net/mac80211/ieee80211_i.h

That's internal to mac80211.

Quoted 2 lines

I'm trying to figure out where some of these helpers should go, but it would be easier with a bit more context.

Many should probably go into the first category as they could be useful for others. Note though that there's net/ieee80211.h too with stuff for the ieee80211 stack, and linux/ieee80211.h needs to be compatible with both net/mac80211.h and net/ieee80211.h

johannes