]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
b43: N-PHY: add some registers and structs definitions
authorRafał Miłecki <zajec5@gmail.com>
Sat, 27 Feb 2010 12:03:32 +0000 (13:03 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Mar 2010 20:06:49 +0000 (15:06 -0500)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/phy_n.h
drivers/net/wireless/b43/tables_nphy.h

index b8807fb12c925611972eff166f2dbc79657e71bc..3a003e6803a5cf6c3a5040bf2af6399ab3e4eaec 100644 (file)
 #define B43_MMIO_MACFILTER_CONTROL     0x420
 #define B43_MMIO_MACFILTER_DATA                0x422
 #define B43_MMIO_RCMTA_COUNT           0x43C
+#define B43_MMIO_PSM_PHY_HDR           0x492
 #define B43_MMIO_RADIO_HWENABLED_LO    0x49A
 #define B43_MMIO_GPIO_CONTROL          0x49C
 #define B43_MMIO_GPIO_MASK             0x49E
index 403aad3f894f10039b734bde81ffa5775e5486b2..47d20dcafbf6b44afd21b10a20ff01dfc3e16d91 100644 (file)
 #define B43_NPHY_PAPD_EN1                      B43_PHY_N(0x29B) /* PAPD Enable1 TBD */
 #define B43_NPHY_EPS_TABLE_ADJ1                        B43_PHY_N(0x29C) /* EPS Table Adj1 TBD */
 
+#define B43_PHY_B_BBCFG                                B43_PHY_N_BMODE(0x001) /* BB config */
+#define B43_PHY_B_TEST                         B43_PHY_N_BMODE(0x00A)
 
 
 /* Broadcom 2055 radio registers */
 
 struct b43_wldev;
 
+struct b43_chanspec {
+       u8 channel;
+       u8 sideband;
+       u8 b_width;
+       u8 b_freq;
+};
+
 struct b43_phy_n_iq_comp {
        s16 a0;
        s16 b0;
index 9c1c6ecd36725f9475f3d781ea46472b7f02a7e6..b23036f7dc192e7e2b03b96cb9361d8e41df5468 100644 (file)
@@ -4,6 +4,15 @@
 #include <linux/types.h>
 
 
+struct b43_phy_n_sfo_cfg {
+       u16 phy_bw1a;
+       u16 phy_bw2;
+       u16 phy_bw3;
+       u16 phy_bw4;
+       u16 phy_bw5;
+       u16 phy_bw6;
+};
+
 struct b43_nphy_channeltab_entry {
        /* The channel number */
        u8 channel;