p54: set_filter refactoring
p54_set_filter has a way too many unnecessary "magic" parameters and values. This patch axes all superfluous parameters and gives most of the magic values appropriate names. Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
0b7dcd9652
commit
e0a58eacf5
@@ -214,17 +214,17 @@ struct p54_tx_control_allocdata {
|
||||
|
||||
struct p54_tx_control_filter {
|
||||
__le16 filter_type;
|
||||
u8 dst[ETH_ALEN];
|
||||
u8 src[ETH_ALEN];
|
||||
u8 antenna;
|
||||
u8 debug;
|
||||
__le32 magic3;
|
||||
u8 rates[8]; // FIXME: what's this for?
|
||||
u8 mac_addr[ETH_ALEN];
|
||||
u8 bssid[ETH_ALEN];
|
||||
u8 rx_antenna;
|
||||
u8 rx_align;
|
||||
__le32 basic_rate_mask;
|
||||
u8 rts_rates[8];
|
||||
__le32 rx_addr;
|
||||
__le16 max_rx;
|
||||
__le16 rxhw;
|
||||
__le16 magic8;
|
||||
__le16 magic9;
|
||||
__le16 wakeup_timer;
|
||||
__le16 unalloc;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct p54_tx_control_channel {
|
||||
|
Reference in New Issue
Block a user