Add the periodic calibration function, but just a framework
Signed-off-by: Li YanBo <[email protected]>
---
drivers/net/wireless/b43/phy_n.c | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c
index 0f7a9a6..586e774 100644
--- a/drivers/net/wireless/b43/phy_n.c
+++ b/drivers/net/wireless/b43/phy_n.c
@@ -424,6 +424,33 @@ static void b43_nphy_rssi_cal(struct b43_wldev
*dev, u8 type)
//TODO
}
+/* periodic calibration events */
+enum b43_nphy_percal_event {
+ B43_DEIVER_UP = 1,
+ B43_WATCHDOG,
+ B43_PHY_INIT,
+ B43_BSS_JOIN,
+ B43_IBSS_JOIN,
+ B43_START_BSS,
+};
+
+static void b43_nphy_periodic_calibration_init(struct b43_wldev *dev,
+ enum b43_nphy_percal_event event)
+{
+ switch (event) {
+ case B43_WATCHDOG:
+ break;
+ case B43_PHY_INIT:
+ break;
+ case B43_BSS_JOIN:
+ case B43_IBSS_JOIN:
+ break;
+ default:
+ ;
+ }
+ /* TODO */
+}
+
int b43_phy_initn(struct b43_wldev *dev)
{
struct b43_phy *phy = &dev->phy;
--
1.5.6.3
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev