libertas: support mesh for various firmware versions
CMD_MESH_CONFIG command ID and a couple of structure members in TxPD, RxPD have been changed in firmware version 10.x.y.z and newer. Signed-off-by: Kiran Divekar <dkiran@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
5e3af1d2d3
commit
684d6b3602
@ -13,8 +13,19 @@
|
||||
|
||||
/* TxPD descriptor */
|
||||
struct txpd {
|
||||
/* Current Tx packet status */
|
||||
__le32 tx_status;
|
||||
/* union to cope up with later FW revisions */
|
||||
union {
|
||||
/* Current Tx packet status */
|
||||
__le32 tx_status;
|
||||
struct {
|
||||
/* BSS type: client, AP, etc. */
|
||||
u8 bss_type;
|
||||
/* BSS number */
|
||||
u8 bss_num;
|
||||
/* Reserved */
|
||||
__le16 reserved;
|
||||
} bss;
|
||||
} u;
|
||||
/* Tx control */
|
||||
__le32 tx_control;
|
||||
__le32 tx_packet_location;
|
||||
@ -36,8 +47,17 @@ struct txpd {
|
||||
|
||||
/* RxPD Descriptor */
|
||||
struct rxpd {
|
||||
/* Current Rx packet status */
|
||||
__le16 status;
|
||||
/* union to cope up with later FW revisions */
|
||||
union {
|
||||
/* Current Rx packet status */
|
||||
__le16 status;
|
||||
struct {
|
||||
/* BSS type: client, AP, etc. */
|
||||
u8 bss_type;
|
||||
/* BSS number */
|
||||
u8 bss_num;
|
||||
} bss;
|
||||
} u;
|
||||
|
||||
/* SNR */
|
||||
u8 snr;
|
||||
|
Reference in New Issue
Block a user