Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wirelessboot:drivers [2009/08/11 20:05] rwcr |
wirelessboot:drivers [2009/08/11 20:11] (current) rwcr |
||
---|---|---|---|
Line 23: | Line 23: | ||
large 802.11 stack; when the file introducing them can be compiled in | large 802.11 stack; when the file introducing them can be compiled in | ||
or out due to a configuration option, the ''REQUIRE_OBJECT()'' calls | or out due to a configuration option, the ''REQUIRE_OBJECT()'' calls | ||
- | should be placed in ''net/80211/config_80211.c'' instead of | + | should be placed in ''config_net80211.c'' instead of |
- | ''core/config.c'' to avoid ever pulling in the objects without a | + | ''config.c'' to avoid ever pulling in the objects without a |
wireless stack present to make them useful. | wireless stack present to make them useful. | ||
Line 58: | Line 58: | ||
* ''dev->channels'' is a list of 802.11 channels that might be used, each identified by a structure indicating center frequency, standard channel number, transmission power, etc. ''dev->nr_channels'' contains a count of channels, and ''dev->channel'' is the index of the channel currently in use. | * ''dev->channels'' is a list of 802.11 channels that might be used, each identified by a structure indicating center frequency, standard channel number, transmission power, etc. ''dev->nr_channels'' contains a count of channels, and ''dev->channel'' is the index of the channel currently in use. | ||
* In the same vein, ''dev->rates'' is an array of transmission rates counted by ''dev->nr_rates'' and indexed by ''dev->rate''. For simplicity, rates are not represented using a structure, but instead simply as an integral multiple of 100,000 bits per second. | * In the same vein, ''dev->rates'' is an array of transmission rates counted by ''dev->nr_rates'' and indexed by ''dev->rate''. For simplicity, rates are not represented using a structure, but instead simply as an integral multiple of 100,000 bits per second. | ||
- | * ''dev->rtscts_rate'' is the index of the rate that should be used | + | * ''dev->rtscts_rate'' is the index of the rate that should be used for RTS and CTS (request-to-send and clear-to-send) frames, if their use is necessary. |
- | for RTS and CTS (request-to-send and clear-to-send) frames, if their use is necessary. | + | |
* ''dev->bssid'' is the MAC address of the Access Point with which the card is associated; generally this is used in setting the RX filter. | * ''dev->bssid'' is the MAC address of the Access Point with which the card is associated; generally this is used in setting the RX filter. | ||
* ''dev->phy_flags'' is a bitmask of physical-layer flags (whether or not to use short preamble, short slot time, or CTS protection) that the driver must communicate appropriately to the card. | * ''dev->phy_flags'' is a bitmask of physical-layer flags (whether or not to use short preamble, short slot time, or CTS protection) that the driver must communicate appropriately to the card. |