mac80211: fix wifi detect with 11n cards that have multiple bands
[openwrt.git] / package / broadcom-57xx / src / 5701rls.c
1 /******************************************************************************/
2 /* */
3 /* Broadcom BCM5700 Linux Network Driver, Copyright (c) 2000 - 2004 Broadcom */
4 /* Corporation. */
5 /* All rights reserved. */
6 /* */
7 /* This program is free software; you can redistribute it and/or modify */
8 /* it under the terms of the GNU General Public License as published by */
9 /* the Free Software Foundation, located in the file LICENSE. */
10 /* */
11 /* History: */
12 /* */
13 /******************************************************************************/
14
15 #ifdef INCLUDE_5701_AX_FIX
16
17 #include "mm.h"
18 #include "5701rls.h"
19
20 LM_STATUS LM_LoadRlsFirmware(PLM_DEVICE_BLOCK pDevice)
21 {
22 T3_FWIMG_INFO FwImgInfo;
23
24 FwImgInfo.StartAddress = t3FwStartAddr;
25 FwImgInfo.Text.Buffer = (PLM_UINT8)t3FwText;
26 FwImgInfo.Text.Offset = t3FwTextAddr;
27 FwImgInfo.Text.Length = t3FwTextLen;
28 FwImgInfo.ROnlyData.Buffer = (PLM_UINT8)t3FwRodata;
29 FwImgInfo.ROnlyData.Offset = t3FwRodataAddr;
30 FwImgInfo.ROnlyData.Length = t3FwRodataLen;
31 FwImgInfo.Data.Buffer = (PLM_UINT8)t3FwData;
32 FwImgInfo.Data.Offset = t3FwDataAddr;
33 FwImgInfo.Data.Length = t3FwDataLen;
34
35 if (LM_LoadFirmware(pDevice,
36 &FwImgInfo,
37 T3_RX_CPU_ID | T3_TX_CPU_ID,
38 T3_RX_CPU_ID) != LM_STATUS_SUCCESS)
39 {
40 return LM_STATUS_FAILURE;
41 }
42
43 return LM_STATUS_SUCCESS;
44 }
45
46 #endif /* INCLUDE_5701_AX_FIX */
This page took 0.069643 seconds and 5 git commands to generate.