staging: wilc1000: remove useless comment
This patch removes useless comment that is containing "BugXXXX" Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1058cc32d1
commit
c3ca63728a
@ -244,7 +244,6 @@ typedef struct _tstrHostIFGetChan {
|
|||||||
u8 u8GetChan;
|
u8 u8GetChan;
|
||||||
} tstrHostIFGetChan;
|
} tstrHostIFGetChan;
|
||||||
|
|
||||||
/*bug3819: Add Scan acomplete notification to host*/
|
|
||||||
/*!
|
/*!
|
||||||
* @struct tstrScanComplete
|
* @struct tstrScanComplete
|
||||||
* @brief hold received Async. Scan Complete message body
|
* @brief hold received Async. Scan Complete message body
|
||||||
@ -472,7 +471,6 @@ typedef struct _tstrWidJoinReqExt {
|
|||||||
} tstrWidJoinReqExt;
|
} tstrWidJoinReqExt;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*Bug4218: Parsing Join Param*/
|
|
||||||
#ifdef WILC_PARSE_SCAN_IN_HOST
|
#ifdef WILC_PARSE_SCAN_IN_HOST
|
||||||
/*Struct containg joinParam of each AP*/
|
/*Struct containg joinParam of each AP*/
|
||||||
typedef struct _tstrJoinBssParam {
|
typedef struct _tstrJoinBssParam {
|
||||||
@ -504,7 +502,6 @@ typedef struct _tstrJoinBssParam {
|
|||||||
u8 au8Interval[4];
|
u8 au8Interval[4];
|
||||||
u8 au8StartTime[4];
|
u8 au8StartTime[4];
|
||||||
} tstrJoinBssParam;
|
} tstrJoinBssParam;
|
||||||
/*Bug4218: Parsing Join Param*/
|
|
||||||
/*a linked list table containing needed join parameters entries for each AP found in most recent scan*/
|
/*a linked list table containing needed join parameters entries for each AP found in most recent scan*/
|
||||||
typedef struct _tstrBssTable {
|
typedef struct _tstrBssTable {
|
||||||
u8 u8noBssEntries;
|
u8 u8noBssEntries;
|
||||||
@ -573,9 +570,7 @@ tstrWILC_WFIDrv *gu8FlushedJoinReqDrvHandler;
|
|||||||
#define FLUSHED_JOIN_REQ 1
|
#define FLUSHED_JOIN_REQ 1
|
||||||
#define FLUSHED_BYTE_POS 79 /* Position the byte indicating flushing in the flushed request */
|
#define FLUSHED_BYTE_POS 79 /* Position the byte indicating flushing in the flushed request */
|
||||||
|
|
||||||
/*Bug4218: Parsing Join Param*/
|
|
||||||
#ifdef WILC_PARSE_SCAN_IN_HOST
|
#ifdef WILC_PARSE_SCAN_IN_HOST
|
||||||
/*Bug4218: Parsing Join Param*/
|
|
||||||
static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo);
|
static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo);
|
||||||
#endif /*WILC_PARSE_SCAN_IN_HOST*/
|
#endif /*WILC_PARSE_SCAN_IN_HOST*/
|
||||||
|
|
||||||
@ -843,7 +838,6 @@ s32 Handle_get_IPAddress(tstrWILC_WFIDrv *drvHandler, u8 *pu8IPAddr, u8 idx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*BugId_5077*/
|
|
||||||
/**
|
/**
|
||||||
* @brief Handle_SetMacAddress
|
* @brief Handle_SetMacAddress
|
||||||
* @details Setting mac address
|
* @details Setting mac address
|
||||||
@ -1376,7 +1370,6 @@ static s32 Handle_Scan(tstrWILC_WFIDrv *drvHandler, tstrHostIFscanAttr *pstrHost
|
|||||||
strWIDList[u32WidsCount].u16WIDid = WID_SCAN_CHANNEL_LIST;
|
strWIDList[u32WidsCount].u16WIDid = WID_SCAN_CHANNEL_LIST;
|
||||||
strWIDList[u32WidsCount].enuWIDtype = WID_BIN_DATA;
|
strWIDList[u32WidsCount].enuWIDtype = WID_BIN_DATA;
|
||||||
|
|
||||||
/* Bug 4648: Convert channel numbers to start from 0 not 1. */
|
|
||||||
if (pstrHostIFscanAttr->pu8ChnlFreqList != NULL && pstrHostIFscanAttr->u8ChnlListLen > 0) {
|
if (pstrHostIFscanAttr->pu8ChnlFreqList != NULL && pstrHostIFscanAttr->u8ChnlListLen > 0) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@ -1528,7 +1521,6 @@ static s32 Handle_Connect(tstrWILC_WFIDrv *drvHandler, tstrHostIFconnectAttr *ps
|
|||||||
wid_site_survey_reslts_s *pstrSurveyResults = NULL;
|
wid_site_survey_reslts_s *pstrSurveyResults = NULL;
|
||||||
#else
|
#else
|
||||||
u8 *pu8CurrByte = NULL;
|
u8 *pu8CurrByte = NULL;
|
||||||
/*Bug4218: Parsing Join Param*/
|
|
||||||
#ifdef WILC_PARSE_SCAN_IN_HOST
|
#ifdef WILC_PARSE_SCAN_IN_HOST
|
||||||
tstrJoinBssParam *ptstrJoinBssParam;
|
tstrJoinBssParam *ptstrJoinBssParam;
|
||||||
#endif /*WILC_PARSE_SCAN_IN_HOST*/
|
#endif /*WILC_PARSE_SCAN_IN_HOST*/
|
||||||
@ -1704,7 +1696,6 @@ static s32 Handle_Connect(tstrWILC_WFIDrv *drvHandler, tstrHostIFconnectAttr *ps
|
|||||||
|
|
||||||
PRINT_INFO(HOSTINF_DBG, "Saving connection parameters in global structure\n");
|
PRINT_INFO(HOSTINF_DBG, "Saving connection parameters in global structure\n");
|
||||||
|
|
||||||
/*Bug4218: Parsing Join Param*/
|
|
||||||
#ifdef WILC_PARSE_SCAN_IN_HOST
|
#ifdef WILC_PARSE_SCAN_IN_HOST
|
||||||
ptstrJoinBssParam = (tstrJoinBssParam *)pstrHostIFconnectAttr->pJoinParams;
|
ptstrJoinBssParam = (tstrJoinBssParam *)pstrHostIFconnectAttr->pJoinParams;
|
||||||
if (ptstrJoinBssParam == NULL) {
|
if (ptstrJoinBssParam == NULL) {
|
||||||
@ -2325,7 +2316,6 @@ static s32 Handle_RcvdNtwrkInfo(tstrWILC_WFIDrv *drvHandler, tstrRcvdNetworkInfo
|
|||||||
pstrWFIDrv->strWILC_UsrScanReq.u32RcvdChCount++;
|
pstrWFIDrv->strWILC_UsrScanReq.u32RcvdChCount++;
|
||||||
|
|
||||||
pstrNetworkInfo->bNewNetwork = true;
|
pstrNetworkInfo->bNewNetwork = true;
|
||||||
/*Bug4218: Parsing Join Param*/
|
|
||||||
/* add new BSS to JoinBssTable */
|
/* add new BSS to JoinBssTable */
|
||||||
#ifdef WILC_PARSE_SCAN_IN_HOST
|
#ifdef WILC_PARSE_SCAN_IN_HOST
|
||||||
pJoinParams = host_int_ParseJoinBssParam(pstrNetworkInfo);
|
pJoinParams = host_int_ParseJoinBssParam(pstrNetworkInfo);
|
||||||
@ -3477,7 +3467,6 @@ static void Handle_AddBeacon(tstrWILC_WFIDrv *drvHandler, tstrHostIFSetBeacon *p
|
|||||||
*pu8CurrByte++ = ((pstrSetBeaconParam->u32TailLen >> 16) & 0xFF);
|
*pu8CurrByte++ = ((pstrSetBeaconParam->u32TailLen >> 16) & 0xFF);
|
||||||
*pu8CurrByte++ = ((pstrSetBeaconParam->u32TailLen >> 24) & 0xFF);
|
*pu8CurrByte++ = ((pstrSetBeaconParam->u32TailLen >> 24) & 0xFF);
|
||||||
|
|
||||||
/* Bug 4599 : if tail length = 0 skip copying */
|
|
||||||
if (pstrSetBeaconParam->pu8Tail > 0)
|
if (pstrSetBeaconParam->pu8Tail > 0)
|
||||||
memcpy(pu8CurrByte, pstrSetBeaconParam->pu8Tail, pstrSetBeaconParam->u32TailLen);
|
memcpy(pu8CurrByte, pstrSetBeaconParam->pu8Tail, pstrSetBeaconParam->u32TailLen);
|
||||||
pu8CurrByte += pstrSetBeaconParam->u32TailLen;
|
pu8CurrByte += pstrSetBeaconParam->u32TailLen;
|
||||||
@ -6951,7 +6940,6 @@ s32 host_int_add_beacon(tstrWILC_WFIDrv *hWFIDrv, u32 u32Interval,
|
|||||||
memcpy(pstrSetBeaconParam->pu8Head, pu8Head, u32HeadLen);
|
memcpy(pstrSetBeaconParam->pu8Head, pu8Head, u32HeadLen);
|
||||||
pstrSetBeaconParam->u32TailLen = u32TailLen;
|
pstrSetBeaconParam->u32TailLen = u32TailLen;
|
||||||
|
|
||||||
/* Bug 4599 : if tail length = 0 skip allocating & copying */
|
|
||||||
if (u32TailLen > 0) {
|
if (u32TailLen > 0) {
|
||||||
pstrSetBeaconParam->pu8Tail = kmalloc(u32TailLen, GFP_KERNEL);
|
pstrSetBeaconParam->pu8Tail = kmalloc(u32TailLen, GFP_KERNEL);
|
||||||
if (pstrSetBeaconParam->pu8Tail == NULL) {
|
if (pstrSetBeaconParam->pu8Tail == NULL) {
|
||||||
@ -7279,10 +7267,8 @@ s32 host_int_setup_multicast_filter(tstrWILC_WFIDrv *hWFIDrv, bool bIsEnabled, u
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*Bug4218: Parsing Join Param*/
|
|
||||||
#ifdef WILC_PARSE_SCAN_IN_HOST
|
#ifdef WILC_PARSE_SCAN_IN_HOST
|
||||||
|
|
||||||
/*Bug4218: Parsing Join Param*/
|
|
||||||
/**
|
/**
|
||||||
* @brief host_int_ParseJoinBssParam
|
* @brief host_int_ParseJoinBssParam
|
||||||
* @details Parse Needed Join Parameters and save it in a new JoinBssParam entry
|
* @details Parse Needed Join Parameters and save it in a new JoinBssParam entry
|
||||||
|
@ -60,7 +60,6 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size)
|
|||||||
|
|
||||||
PRINT_INFO(HOSTAPD_DBG, "In monitor interface receive function\n");
|
PRINT_INFO(HOSTAPD_DBG, "In monitor interface receive function\n");
|
||||||
|
|
||||||
/* Bug 4601 */
|
|
||||||
if (wilc_wfi_mon == NULL)
|
if (wilc_wfi_mon == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -222,7 +221,6 @@ static netdev_tx_t WILC_WFI_mon_xmit(struct sk_buff *skb,
|
|||||||
struct sk_buff *skb2;
|
struct sk_buff *skb2;
|
||||||
struct wilc_wfi_radiotap_cb_hdr *cb_hdr;
|
struct wilc_wfi_radiotap_cb_hdr *cb_hdr;
|
||||||
|
|
||||||
/* Bug 4601 */
|
|
||||||
if (wilc_wfi_mon == NULL)
|
if (wilc_wfi_mon == NULL)
|
||||||
return -EFAULT;
|
return -EFAULT;
|
||||||
|
|
||||||
|
@ -615,7 +615,7 @@ int linux_wlan_get_firmware(perInterface_wlan_t *p_nic)
|
|||||||
goto _fail_;
|
goto _fail_;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
g_linux_wlan->wilc_firmware = wilc_firmware; /* Bug 4703 */
|
g_linux_wlan->wilc_firmware = wilc_firmware;
|
||||||
|
|
||||||
_fail_:
|
_fail_:
|
||||||
|
|
||||||
@ -736,7 +736,7 @@ static int linux_wlan_init_test_config(struct net_device *dev, linux_wlan_t *p_n
|
|||||||
if (!g_linux_wlan->oup.wlan_cfg_set(0, WID_BSS_TYPE, c_val, 1, 0, 0))
|
if (!g_linux_wlan->oup.wlan_cfg_set(0, WID_BSS_TYPE, c_val, 1, 0, 0))
|
||||||
goto _fail_;
|
goto _fail_;
|
||||||
|
|
||||||
/* c_val[0] = RATE_AUTO; / * bug 4275: Enable autorate and limit it to 24Mbps * / */
|
/* c_val[0] = RATE_AUTO; */
|
||||||
c_val[0] = RATE_AUTO;
|
c_val[0] = RATE_AUTO;
|
||||||
if (!g_linux_wlan->oup.wlan_cfg_set(0, WID_CURRENT_TX_RATE, c_val, 1, 0, 0))
|
if (!g_linux_wlan->oup.wlan_cfg_set(0, WID_CURRENT_TX_RATE, c_val, 1, 0, 0))
|
||||||
goto _fail_;
|
goto _fail_;
|
||||||
@ -2012,7 +2012,6 @@ static void __exit exit_wilc_driver(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Bug 4600 : WILC_WFI_deinit_mon_interface was already called at mac_close */
|
|
||||||
/* WILC_WFI_deinit_mon_interface(); */
|
/* WILC_WFI_deinit_mon_interface(); */
|
||||||
|
|
||||||
/* if(g_linux_wlan->open_ifcs==0) */
|
/* if(g_linux_wlan->open_ifcs==0) */
|
||||||
|
@ -2529,8 +2529,6 @@ int mgmt_tx_cancel_wait(struct wiphy *wiphy,
|
|||||||
pstrWFIDrv->u64P2p_MgmtTimeout = jiffies;
|
pstrWFIDrv->u64P2p_MgmtTimeout = jiffies;
|
||||||
|
|
||||||
if (priv->bInP2PlistenState == false) {
|
if (priv->bInP2PlistenState == false) {
|
||||||
/* Bug 5504: This is just to avoid connection failure when getting stuck when the supplicant
|
|
||||||
* considers the driver falsely that it is in Listen state */
|
|
||||||
cfg80211_remain_on_channel_expired(priv->wdev,
|
cfg80211_remain_on_channel_expired(priv->wdev,
|
||||||
priv->strRemainOnChanParams.u64ListenCookie,
|
priv->strRemainOnChanParams.u64ListenCookie,
|
||||||
priv->strRemainOnChanParams.pstrListenChan,
|
priv->strRemainOnChanParams.pstrListenChan,
|
||||||
|
@ -188,7 +188,7 @@ typedef struct {
|
|||||||
unsigned char eth_src_address[NUM_CONCURRENT_IFC][6];
|
unsigned char eth_src_address[NUM_CONCURRENT_IFC][6];
|
||||||
/* unsigned char eth_dst_address[6]; */
|
/* unsigned char eth_dst_address[6]; */
|
||||||
|
|
||||||
const struct firmware *wilc_firmware; /* Bug 4703 */
|
const struct firmware *wilc_firmware;
|
||||||
|
|
||||||
struct net_device *real_ndev;
|
struct net_device *real_ndev;
|
||||||
#ifdef WILC_SDIO
|
#ifdef WILC_SDIO
|
||||||
|
@ -547,7 +547,6 @@ static int wilc_wlan_txq_add_net_pkt(void *priv, u8 *buffer, u32 buffer_size, wi
|
|||||||
return p->txq_entries;
|
return p->txq_entries;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Bug3959: transmitting mgmt frames received from host*/
|
|
||||||
int wilc_wlan_txq_add_mgmt_pkt(void *priv, u8 *buffer, u32 buffer_size, wilc_tx_complete_func_t func)
|
int wilc_wlan_txq_add_mgmt_pkt(void *priv, u8 *buffer, u32 buffer_size, wilc_tx_complete_func_t func)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -870,9 +869,6 @@ static int wilc_wlan_handle_txq(u32 *pu32TxqCount)
|
|||||||
if (tqe->type == WILC_CFG_PKT) {
|
if (tqe->type == WILC_CFG_PKT) {
|
||||||
vmm_sz = ETH_CONFIG_PKT_HDR_OFFSET;
|
vmm_sz = ETH_CONFIG_PKT_HDR_OFFSET;
|
||||||
}
|
}
|
||||||
/*Bug3959: transmitting mgmt frames received from host*/
|
|
||||||
/*vmm_sz will only be equal to tqe->buffer_size + 4 bytes (HOST_HDR_OFFSET)*/
|
|
||||||
/* in other cases WILC_MGMT_PKT and WILC_DATA_PKT_MAC_HDR*/
|
|
||||||
else if (tqe->type == WILC_NET_PKT) {
|
else if (tqe->type == WILC_NET_PKT) {
|
||||||
vmm_sz = ETH_ETHERNET_HDR_OFFSET;
|
vmm_sz = ETH_ETHERNET_HDR_OFFSET;
|
||||||
}
|
}
|
||||||
@ -959,7 +955,7 @@ static int wilc_wlan_handle_txq(u32 *pu32TxqCount)
|
|||||||
/**
|
/**
|
||||||
* write to vmm table
|
* write to vmm table
|
||||||
**/
|
**/
|
||||||
ret = p->hif_func.hif_block_tx(WILC_VMM_TBL_RX_SHADOW_BASE, (u8 *)vmm_table, ((i + 1) * 4)); /* Bug 4477 fix */
|
ret = p->hif_func.hif_block_tx(WILC_VMM_TBL_RX_SHADOW_BASE, (u8 *)vmm_table, ((i + 1) * 4));
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
wilc_debug(N_ERR, "ERR block TX of VMM table.\n");
|
wilc_debug(N_ERR, "ERR block TX of VMM table.\n");
|
||||||
break;
|
break;
|
||||||
@ -1057,8 +1053,6 @@ static int wilc_wlan_handle_txq(u32 *pu32TxqCount)
|
|||||||
vmm_sz = (vmm_table[i] & 0x3ff); /* in word unit */
|
vmm_sz = (vmm_table[i] & 0x3ff); /* in word unit */
|
||||||
vmm_sz *= 4;
|
vmm_sz *= 4;
|
||||||
header = (tqe->type << 31) | (tqe->buffer_size << 15) | vmm_sz;
|
header = (tqe->type << 31) | (tqe->buffer_size << 15) | vmm_sz;
|
||||||
/*Bug3959: transmitting mgmt frames received from host*/
|
|
||||||
/*setting bit 30 in the host header to indicate mgmt frame*/
|
|
||||||
if (tqe->type == WILC_MGMT_PKT)
|
if (tqe->type == WILC_MGMT_PKT)
|
||||||
header |= (1 << 30);
|
header |= (1 << 30);
|
||||||
else
|
else
|
||||||
@ -1071,9 +1065,6 @@ static int wilc_wlan_handle_txq(u32 *pu32TxqCount)
|
|||||||
if (tqe->type == WILC_CFG_PKT) {
|
if (tqe->type == WILC_CFG_PKT) {
|
||||||
buffer_offset = ETH_CONFIG_PKT_HDR_OFFSET;
|
buffer_offset = ETH_CONFIG_PKT_HDR_OFFSET;
|
||||||
}
|
}
|
||||||
/*Bug3959: transmitting mgmt frames received from host*/
|
|
||||||
/*buffer offset = HOST_HDR_OFFSET in other cases: WILC_MGMT_PKT*/
|
|
||||||
/* and WILC_DATA_PKT_MAC_HDR*/
|
|
||||||
else if (tqe->type == WILC_NET_PKT) {
|
else if (tqe->type == WILC_NET_PKT) {
|
||||||
char *pBSSID = ((struct tx_complete_data *)(tqe->priv))->pBssid;
|
char *pBSSID = ((struct tx_complete_data *)(tqe->priv))->pBssid;
|
||||||
|
|
||||||
@ -1434,7 +1425,7 @@ static int wilc_wlan_firmware_download(const u8 *buffer, u32 buffer_size)
|
|||||||
u8 *dma_buffer;
|
u8 *dma_buffer;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
blksz = (1ul << 12); /* Bug 4703: 4KB Good enough size for most platforms = PAGE_SIZE. */
|
blksz = (1ul << 12);
|
||||||
/* Allocate a DMA coherent buffer. */
|
/* Allocate a DMA coherent buffer. */
|
||||||
|
|
||||||
dma_buffer = kmalloc(blksz, GFP_KERNEL);
|
dma_buffer = kmalloc(blksz, GFP_KERNEL);
|
||||||
@ -1685,9 +1676,6 @@ static int wilc_wlan_stop(void)
|
|||||||
|
|
||||||
} while (timeout);
|
} while (timeout);
|
||||||
#if 1
|
#if 1
|
||||||
/******************************************************************************/
|
|
||||||
/* This was add at Bug 4595 to reset the chip while maintaining the bus state */
|
|
||||||
/******************************************************************************/
|
|
||||||
reg = ((1 << 0) | (1 << 1) | (1 << 2) | (1 << 3) | (1 << 8) | (1 << 9) | (1 << 26) | (1 << 29) | (1 << 30) | (1 << 31)); /**/
|
reg = ((1 << 0) | (1 << 1) | (1 << 2) | (1 << 3) | (1 << 8) | (1 << 9) | (1 << 26) | (1 << 29) | (1 << 30) | (1 << 31)); /**/
|
||||||
/**/
|
/**/
|
||||||
p->hif_func.hif_write_reg(WILC_GLB_RESET_0, reg); /**/
|
p->hif_func.hif_write_reg(WILC_GLB_RESET_0, reg); /**/
|
||||||
@ -2106,7 +2094,6 @@ int wilc_wlan_init(wilc_wlan_inp_t *inp, wilc_wlan_oup_t *oup)
|
|||||||
oup->wlan_cfg_get = wilc_wlan_cfg_get;
|
oup->wlan_cfg_get = wilc_wlan_cfg_get;
|
||||||
oup->wlan_cfg_get_value = wilc_wlan_cfg_get_val;
|
oup->wlan_cfg_get_value = wilc_wlan_cfg_get_val;
|
||||||
|
|
||||||
/*Bug3959: transmitting mgmt frames received from host*/
|
|
||||||
oup->wlan_add_mgmt_to_tx_que = wilc_wlan_txq_add_mgmt_pkt;
|
oup->wlan_add_mgmt_to_tx_que = wilc_wlan_txq_add_mgmt_pkt;
|
||||||
|
|
||||||
if (!init_chip()) {
|
if (!init_chip()) {
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
#define ETH_ETHERNET_HDR_OFFSET (MAX_MAC_HDR_LEN + SUB_MSDU_HEADER_LENGTH + \
|
#define ETH_ETHERNET_HDR_OFFSET (MAX_MAC_HDR_LEN + SUB_MSDU_HEADER_LENGTH + \
|
||||||
SNAP_HDR_LEN - ETHERNET_HDR_LEN + WORD_ALIGNMENT_PAD)
|
SNAP_HDR_LEN - ETHERNET_HDR_LEN + WORD_ALIGNMENT_PAD)
|
||||||
|
|
||||||
/*Bug3959: transmitting mgmt frames received from host*/
|
|
||||||
#define HOST_HDR_OFFSET 4
|
#define HOST_HDR_OFFSET 4
|
||||||
#define ETHERNET_HDR_LEN 14
|
#define ETHERNET_HDR_LEN 14
|
||||||
#define IP_HDR_LEN 20
|
#define IP_HDR_LEN 20
|
||||||
@ -104,8 +103,8 @@
|
|||||||
#define WILC_AHB_DATA_MEM_BASE 0x30000
|
#define WILC_AHB_DATA_MEM_BASE 0x30000
|
||||||
#define WILC_AHB_SHARE_MEM_BASE 0xd0000
|
#define WILC_AHB_SHARE_MEM_BASE 0xd0000
|
||||||
|
|
||||||
#define WILC_VMM_TBL_RX_SHADOW_BASE WILC_AHB_SHARE_MEM_BASE /* Bug 4477 fix */
|
#define WILC_VMM_TBL_RX_SHADOW_BASE WILC_AHB_SHARE_MEM_BASE
|
||||||
#define WILC_VMM_TBL_RX_SHADOW_SIZE (256) /* Bug 4477 fix */
|
#define WILC_VMM_TBL_RX_SHADOW_SIZE (256)
|
||||||
|
|
||||||
#define WILC_GP_REG_0 0x149c
|
#define WILC_GP_REG_0 0x149c
|
||||||
#define WILC_GP_REG_1 0x14a0
|
#define WILC_GP_REG_1 0x14a0
|
||||||
@ -137,7 +136,6 @@
|
|||||||
********************************************/
|
********************************************/
|
||||||
#define WILC_CFG_PKT 1
|
#define WILC_CFG_PKT 1
|
||||||
#define WILC_NET_PKT 0
|
#define WILC_NET_PKT 0
|
||||||
/*Bug3959: transmitting mgmt frames received from host*/
|
|
||||||
#define WILC_MGMT_PKT 2
|
#define WILC_MGMT_PKT 2
|
||||||
|
|
||||||
#define WILC_CFG_SET 1
|
#define WILC_CFG_SET 1
|
||||||
|
@ -541,7 +541,6 @@ static int wilc_wlan_cfg_indicate_rx(u8 *frame, int size, wilc_cfg_rsp_t *rsp)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
/*bug3819:*/
|
|
||||||
case 'S':
|
case 'S':
|
||||||
PRINT_INFO(RX_DBG, "Scan Notification Received\n");
|
PRINT_INFO(RX_DBG, "Scan Notification Received\n");
|
||||||
host_int_ScanCompleteReceived(frame - 4, size + 4);
|
host_int_ScanCompleteReceived(frame - 4, size + 4);
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
#ifndef WILC_WLAN_IF_H
|
#ifndef WILC_WLAN_IF_H
|
||||||
#define WILC_WLAN_IF_H
|
#define WILC_WLAN_IF_H
|
||||||
|
|
||||||
/*bug 3887: [AP] Allow Management frames to be passed to the host*/
|
|
||||||
/* #define MEMORY_STATIC */
|
/* #define MEMORY_STATIC */
|
||||||
/* #define USE_OLD_SPI_SW */
|
/* #define USE_OLD_SPI_SW */
|
||||||
|
|
||||||
@ -171,7 +170,6 @@ typedef struct {
|
|||||||
int (*wlan_cfg_set)(int, u32, u8 *, u32, int, u32);
|
int (*wlan_cfg_set)(int, u32, u8 *, u32, int, u32);
|
||||||
int (*wlan_cfg_get)(int, u32, int, u32);
|
int (*wlan_cfg_get)(int, u32, int, u32);
|
||||||
int (*wlan_cfg_get_value)(u32, u8 *, u32);
|
int (*wlan_cfg_get_value)(u32, u8 *, u32);
|
||||||
/*Bug3959: transmitting mgmt frames received from host*/
|
|
||||||
int (*wlan_add_mgmt_to_tx_que)(void *, u8 *, u32, wilc_tx_complete_func_t);
|
int (*wlan_add_mgmt_to_tx_que)(void *, u8 *, u32, wilc_tx_complete_func_t);
|
||||||
} wilc_wlan_oup_t;
|
} wilc_wlan_oup_t;
|
||||||
|
|
||||||
@ -235,7 +233,6 @@ typedef enum {
|
|||||||
#define MAC_CONNECTED 1
|
#define MAC_CONNECTED 1
|
||||||
#define MAC_DISCONNECTED 0
|
#define MAC_DISCONNECTED 0
|
||||||
|
|
||||||
/*bug3819: */
|
|
||||||
#define SCAN_DONE TRUE
|
#define SCAN_DONE TRUE
|
||||||
typedef enum {
|
typedef enum {
|
||||||
PASSIVE_SCAN = 0,
|
PASSIVE_SCAN = 0,
|
||||||
@ -756,7 +753,6 @@ typedef enum {
|
|||||||
|
|
||||||
/* Custom Character WID list */
|
/* Custom Character WID list */
|
||||||
WID_PC_TEST_MODE = 0x00C8,
|
WID_PC_TEST_MODE = 0x00C8,
|
||||||
/*bug3819: */
|
|
||||||
/* SCAN Complete notification WID*/
|
/* SCAN Complete notification WID*/
|
||||||
WID_SCAN_COMPLETE = 0x00C9,
|
WID_SCAN_COMPLETE = 0x00C9,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user