Commit 163eb0d8 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: csr: remove CsrInt8 typedef

Use the in-kernel s8 type instead.

Cc: Mikko Virkkilä <mikko.virkkila@bluegiga.com>
Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com>
Cc: Riku Mettälä <riku.mettala@bluegiga.com>
Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7e6f5794
...@@ -37,7 +37,6 @@ typedef uint16_t CsrUint16; ...@@ -37,7 +37,6 @@ typedef uint16_t CsrUint16;
typedef uint32_t CsrUint32; typedef uint32_t CsrUint32;
/* Signed fixed width types */ /* Signed fixed width types */
typedef int8_t CsrInt8;
typedef int16_t CsrInt16; typedef int16_t CsrInt16;
typedef int32_t CsrInt32; typedef int32_t CsrInt32;
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
* F1-F3 80-BF 80-BF 80-BF * F1-F3 80-BF 80-BF 80-BF
* F4 80-8F 80-BF 80-BF * F4 80-8F 80-BF 80-BF
*/ */
static const CsrInt8 trailingBytesForUtf8[256] = static const s8 trailingBytesForUtf8[256] =
{ {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x00 - 0x1F */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x00 - 0x1F */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x20 - 0x3F */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x20 - 0x3F */
...@@ -568,7 +568,7 @@ CsrUtf16String *CsrUtf82Utf16String(const CsrUtf8String *utf8String) ...@@ -568,7 +568,7 @@ CsrUtf16String *CsrUtf82Utf16String(const CsrUtf8String *utf8String)
CsrSize sourceLength; CsrSize sourceLength;
CsrUtf16String *dest = NULL; CsrUtf16String *dest = NULL;
CsrUtf16String *destStart = NULL; CsrUtf16String *destStart = NULL;
CsrInt8 extraBytes2Read; s8 extraBytes2Read;
if (!utf8String) if (!utf8String)
{ {
......
...@@ -104,7 +104,7 @@ CsrResult card_wait_for_firmware_to_start(card_t *card, CsrUint32 *paddr); ...@@ -104,7 +104,7 @@ CsrResult card_wait_for_firmware_to_start(card_t *card, CsrUint32 *paddr);
CsrResult unifi_dl_firmware(card_t *card, void *arg); CsrResult unifi_dl_firmware(card_t *card, void *arg);
CsrResult unifi_dl_patch(card_t *card, void *arg, CsrUint32 boot_ctrl); CsrResult unifi_dl_patch(card_t *card, void *arg, CsrUint32 boot_ctrl);
CsrResult unifi_do_loader_op(card_t *card, CsrUint32 op_addr, u8 opcode); CsrResult unifi_do_loader_op(card_t *card, CsrUint32 op_addr, u8 opcode);
void* unifi_dl_fw_read_start(card_t *card, CsrInt8 is_fw); void* unifi_dl_fw_read_start(card_t *card, s8 is_fw);
CsrResult unifi_coredump_handle_request(card_t *card); CsrResult unifi_coredump_handle_request(card_t *card);
......
...@@ -564,7 +564,7 @@ CsrResult unifi_read_direct32(card_t *card, CsrUint32 addr, CsrUint32 *pdata) ...@@ -564,7 +564,7 @@ CsrResult unifi_read_direct32(card_t *card, CsrUint32 addr, CsrUint32 *pdata)
* even address is read. * even address is read.
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
*/ */
static CsrResult unifi_read_directn_match(card_t *card, CsrUint32 addr, void *pdata, CsrUint16 len, CsrInt8 m, CsrUint32 *num) static CsrResult unifi_read_directn_match(card_t *card, CsrUint32 addr, void *pdata, CsrUint16 len, s8 m, CsrUint32 *num)
{ {
CsrResult r; CsrResult r;
CsrUint32 i; CsrUint32 i;
...@@ -583,7 +583,7 @@ static CsrResult unifi_read_directn_match(card_t *card, CsrUint32 addr, void *pd ...@@ -583,7 +583,7 @@ static CsrResult unifi_read_directn_match(card_t *card, CsrUint32 addr, void *pd
} }
*cptr++ = ((u8)w & 0xFF); *cptr++ = ((u8)w & 0xFF);
if ((m >= 0) && (((CsrInt8)w & 0xFF) == m)) if ((m >= 0) && (((s8)w & 0xFF) == m))
{ {
break; break;
} }
...@@ -595,7 +595,7 @@ static CsrResult unifi_read_directn_match(card_t *card, CsrUint32 addr, void *pd ...@@ -595,7 +595,7 @@ static CsrResult unifi_read_directn_match(card_t *card, CsrUint32 addr, void *pd
} }
*cptr++ = ((u8)(w >> 8) & 0xFF); *cptr++ = ((u8)(w >> 8) & 0xFF);
if ((m >= 0) && (((CsrInt8)(w >> 8) & 0xFF) == m)) if ((m >= 0) && (((s8)(w >> 8) & 0xFF) == m))
{ {
break; break;
} }
...@@ -1278,7 +1278,7 @@ CsrResult unifi_read32(card_t *card, CsrUint32 unifi_addr, CsrUint32 *pdata) ...@@ -1278,7 +1278,7 @@ CsrResult unifi_read32(card_t *card, CsrUint32 unifi_addr, CsrUint32 *pdata)
* CSR_WIFI_HIP_RESULT_INVALID_VALUE a bad generic pointer was specified * CSR_WIFI_HIP_RESULT_INVALID_VALUE a bad generic pointer was specified
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
*/ */
CsrResult unifi_readn_match(card_t *card, CsrUint32 unifi_addr, void *pdata, CsrUint16 len, CsrInt8 match) CsrResult unifi_readn_match(card_t *card, CsrUint32 unifi_addr, void *pdata, CsrUint16 len, s8 match)
{ {
CsrUint32 sdio_addr; CsrUint32 sdio_addr;
CsrResult r; CsrResult r;
......
...@@ -465,7 +465,7 @@ CsrResult unifi_dl_patch(card_t *card, void *dlpriv, CsrUint32 boot_ctrl) ...@@ -465,7 +465,7 @@ CsrResult unifi_dl_patch(card_t *card, void *dlpriv, CsrUint32 boot_ctrl)
} /* unifi_dl_patch() */ } /* unifi_dl_patch() */
void* unifi_dl_fw_read_start(card_t *card, CsrInt8 is_fw) void* unifi_dl_fw_read_start(card_t *card, s8 is_fw)
{ {
card_info_t card_info; card_info_t card_info;
......
...@@ -99,7 +99,7 @@ static const struct coredump_zone zonedef_table[HIP_CDUMP_NUM_ZONES] = { ...@@ -99,7 +99,7 @@ static const struct coredump_zone zonedef_table[HIP_CDUMP_NUM_ZONES] = {
* immediately after that, the mini-coredump can be captured. * immediately after that, the mini-coredump can be captured.
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
*/ */
CsrResult unifi_coredump_request_at_next_reset(card_t *card, CsrInt8 enable) CsrResult unifi_coredump_request_at_next_reset(card_t *card, s8 enable)
{ {
CsrResult r; CsrResult r;
......
...@@ -701,7 +701,7 @@ void unifi_get_hip_qos_info(card_t *card, unifi_HipQosInfo *hipqosinfo); ...@@ -701,7 +701,7 @@ void unifi_get_hip_qos_info(card_t *card, unifi_HipQosInfo *hipqosinfo);
* *
* @ingroup upperedge * @ingroup upperedge
*/ */
void* unifi_fw_read_start(void *ospriv, CsrInt8 is_fw, const card_info_t *info); void* unifi_fw_read_start(void *ospriv, s8 is_fw, const card_info_t *info);
/** /**
* *
...@@ -871,7 +871,7 @@ void unifi_debug_hex_to_buf(const CsrCharString *buff, CsrUint16 length); ...@@ -871,7 +871,7 @@ void unifi_debug_hex_to_buf(const CsrCharString *buff, CsrUint16 length);
/* Mini-coredump utility functions */ /* Mini-coredump utility functions */
CsrResult unifi_coredump_get_value(card_t *card, struct unifi_coredump_req *req); CsrResult unifi_coredump_get_value(card_t *card, struct unifi_coredump_req *req);
CsrResult unifi_coredump_capture(card_t *card, struct unifi_coredump_req *req); CsrResult unifi_coredump_capture(card_t *card, struct unifi_coredump_req *req);
CsrResult unifi_coredump_request_at_next_reset(card_t *card, CsrInt8 enable); CsrResult unifi_coredump_request_at_next_reset(card_t *card, s8 enable);
CsrResult unifi_coredump_init(card_t *card, CsrUint16 num_dump_buffers); CsrResult unifi_coredump_init(card_t *card, CsrUint16 num_dump_buffers);
void unifi_coredump_free(card_t *card); void unifi_coredump_free(card_t *card);
......
...@@ -3087,12 +3087,12 @@ typedef struct ...@@ -3087,12 +3087,12 @@ typedef struct
CsrWifiSmeScanConfigData scanCfg[4]; CsrWifiSmeScanConfigData scanCfg[4];
CsrBool disableAutonomousScans; CsrBool disableAutonomousScans;
CsrUint16 maxResults; CsrUint16 maxResults;
CsrInt8 highRssiThreshold; s8 highRssiThreshold;
CsrInt8 lowRssiThreshold; s8 lowRssiThreshold;
CsrInt8 deltaRssiThreshold; s8 deltaRssiThreshold;
CsrInt8 highSnrThreshold; s8 highSnrThreshold;
CsrInt8 lowSnrThreshold; s8 lowSnrThreshold;
CsrInt8 deltaSnrThreshold; s8 deltaSnrThreshold;
CsrUint16 passiveChannelListCount; CsrUint16 passiveChannelListCount;
u8 *passiveChannelList; u8 *passiveChannelList;
} CsrWifiSmeScanConfig; } CsrWifiSmeScanConfig;
......
...@@ -1133,12 +1133,12 @@ CsrSize CsrWifiSmeScanConfigSetReqSizeof(void *msg) ...@@ -1133,12 +1133,12 @@ CsrSize CsrWifiSmeScanConfigSetReqSizeof(void *msg)
} }
bufferSize += 1; /* CsrBool primitive->scanConfig.disableAutonomousScans */ bufferSize += 1; /* CsrBool primitive->scanConfig.disableAutonomousScans */
bufferSize += 2; /* CsrUint16 primitive->scanConfig.maxResults */ bufferSize += 2; /* CsrUint16 primitive->scanConfig.maxResults */
bufferSize += 1; /* CsrInt8 primitive->scanConfig.highRssiThreshold */ bufferSize += 1; /* s8 primitive->scanConfig.highRssiThreshold */
bufferSize += 1; /* CsrInt8 primitive->scanConfig.lowRssiThreshold */ bufferSize += 1; /* s8 primitive->scanConfig.lowRssiThreshold */
bufferSize += 1; /* CsrInt8 primitive->scanConfig.deltaRssiThreshold */ bufferSize += 1; /* s8 primitive->scanConfig.deltaRssiThreshold */
bufferSize += 1; /* CsrInt8 primitive->scanConfig.highSnrThreshold */ bufferSize += 1; /* s8 primitive->scanConfig.highSnrThreshold */
bufferSize += 1; /* CsrInt8 primitive->scanConfig.lowSnrThreshold */ bufferSize += 1; /* s8 primitive->scanConfig.lowSnrThreshold */
bufferSize += 1; /* CsrInt8 primitive->scanConfig.deltaSnrThreshold */ bufferSize += 1; /* s8 primitive->scanConfig.deltaSnrThreshold */
bufferSize += 2; /* CsrUint16 primitive->scanConfig.passiveChannelListCount */ bufferSize += 2; /* CsrUint16 primitive->scanConfig.passiveChannelListCount */
bufferSize += primitive->scanConfig.passiveChannelListCount; /* u8 primitive->scanConfig.passiveChannelList */ bufferSize += primitive->scanConfig.passiveChannelListCount; /* u8 primitive->scanConfig.passiveChannelList */
return bufferSize; return bufferSize;
...@@ -4412,12 +4412,12 @@ CsrSize CsrWifiSmeScanConfigGetCfmSizeof(void *msg) ...@@ -4412,12 +4412,12 @@ CsrSize CsrWifiSmeScanConfigGetCfmSizeof(void *msg)
} }
bufferSize += 1; /* CsrBool primitive->scanConfig.disableAutonomousScans */ bufferSize += 1; /* CsrBool primitive->scanConfig.disableAutonomousScans */
bufferSize += 2; /* CsrUint16 primitive->scanConfig.maxResults */ bufferSize += 2; /* CsrUint16 primitive->scanConfig.maxResults */
bufferSize += 1; /* CsrInt8 primitive->scanConfig.highRssiThreshold */ bufferSize += 1; /* s8 primitive->scanConfig.highRssiThreshold */
bufferSize += 1; /* CsrInt8 primitive->scanConfig.lowRssiThreshold */ bufferSize += 1; /* s8 primitive->scanConfig.lowRssiThreshold */
bufferSize += 1; /* CsrInt8 primitive->scanConfig.deltaRssiThreshold */ bufferSize += 1; /* s8 primitive->scanConfig.deltaRssiThreshold */
bufferSize += 1; /* CsrInt8 primitive->scanConfig.highSnrThreshold */ bufferSize += 1; /* s8 primitive->scanConfig.highSnrThreshold */
bufferSize += 1; /* CsrInt8 primitive->scanConfig.lowSnrThreshold */ bufferSize += 1; /* s8 primitive->scanConfig.lowSnrThreshold */
bufferSize += 1; /* CsrInt8 primitive->scanConfig.deltaSnrThreshold */ bufferSize += 1; /* s8 primitive->scanConfig.deltaSnrThreshold */
bufferSize += 2; /* CsrUint16 primitive->scanConfig.passiveChannelListCount */ bufferSize += 2; /* CsrUint16 primitive->scanConfig.passiveChannelListCount */
bufferSize += primitive->scanConfig.passiveChannelListCount; /* u8 primitive->scanConfig.passiveChannelList */ bufferSize += primitive->scanConfig.passiveChannelListCount; /* u8 primitive->scanConfig.passiveChannelList */
return bufferSize; return bufferSize;
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
*/ */
void* void*
unifi_fw_read_start(void *ospriv, CsrInt8 is_fw, const card_info_t *info) unifi_fw_read_start(void *ospriv, s8 is_fw, const card_info_t *info)
{ {
unifi_priv_t *priv = (unifi_priv_t*)ospriv; unifi_priv_t *priv = (unifi_priv_t*)ospriv;
CSR_UNUSED(info); CSR_UNUSED(info);
......
...@@ -1080,7 +1080,7 @@ skb_add_llc_snap(struct net_device *dev, struct sk_buff *skb, int proto) ...@@ -1080,7 +1080,7 @@ skb_add_llc_snap(struct net_device *dev, struct sk_buff *skb, int proto)
#ifdef CSR_SUPPORT_SME #ifdef CSR_SUPPORT_SME
static int static int
_identify_sme_ma_pkt_ind(unifi_priv_t *priv, _identify_sme_ma_pkt_ind(unifi_priv_t *priv,
const CsrInt8 *oui, CsrUint16 protocol, const s8 *oui, CsrUint16 protocol,
const CSR_SIGNAL *signal, const CSR_SIGNAL *signal,
bulk_data_param_t *bulkdata, bulk_data_param_t *bulkdata,
const unsigned char *daddr, const unsigned char *daddr,
...@@ -1657,7 +1657,7 @@ send_ma_pkt_request(unifi_priv_t *priv, struct sk_buff *skb, const struct ethhdr ...@@ -1657,7 +1657,7 @@ send_ma_pkt_request(unifi_priv_t *priv, struct sk_buff *skb, const struct ethhdr
CsrUint16 interfaceTag; CsrUint16 interfaceTag;
CsrWifiMacAddress peerAddress; CsrWifiMacAddress peerAddress;
CSR_TRANSMISSION_CONTROL transmissionControl = CSR_NO_CONFIRM_REQUIRED; CSR_TRANSMISSION_CONTROL transmissionControl = CSR_NO_CONFIRM_REQUIRED;
CsrInt8 protection; s8 protection;
netInterface_priv_t *interfacePriv = NULL; netInterface_priv_t *interfacePriv = NULL;
CSR_RATE TransmitRate = (CSR_RATE)0; CSR_RATE TransmitRate = (CSR_RATE)0;
......
...@@ -404,7 +404,7 @@ uf_send_gratuitous_arp(unifi_priv_t *priv, CsrUint16 interfaceTag) ...@@ -404,7 +404,7 @@ uf_send_gratuitous_arp(unifi_priv_t *priv, CsrUint16 interfaceTag)
bulk_data_param_t bulkdata; bulk_data_param_t bulkdata;
CsrResult csrResult; CsrResult csrResult;
struct sk_buff *skb, *newSkb = NULL; struct sk_buff *skb, *newSkb = NULL;
CsrInt8 protection; s8 protection;
int r; int r;
static const u8 arp_req[36] = {0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00, static const u8 arp_req[36] = {0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00,
0x08, 0x06, 0x00, 0x01, 0x08, 0x00, 0x06, 0x04, 0x00, 0x01, 0x08, 0x06, 0x00, 0x01, 0x08, 0x00, 0x06, 0x04, 0x00, 0x01,
...@@ -1366,7 +1366,7 @@ _sys_packet_req(unifi_priv_t *priv, const CSR_SIGNAL *signal, ...@@ -1366,7 +1366,7 @@ _sys_packet_req(unifi_priv_t *priv, const CSR_SIGNAL *signal,
CsrResult csrResult; CsrResult csrResult;
CsrUint16 interfaceTag = req.VirtualInterfaceIdentifier & 0xff; CsrUint16 interfaceTag = req.VirtualInterfaceIdentifier & 0xff;
CsrBool eapolStore = FALSE; CsrBool eapolStore = FALSE;
CsrInt8 protection = 0; s8 protection = 0;
netInterface_priv_t *interfacePriv; netInterface_priv_t *interfacePriv;
unsigned long flags; unsigned long flags;
......
...@@ -1976,9 +1976,9 @@ CsrResult uf_process_ma_packet_req(unifi_priv_t *priv, ...@@ -1976,9 +1976,9 @@ CsrResult uf_process_ma_packet_req(unifi_priv_t *priv,
} }
#ifdef CSR_SUPPORT_SME #ifdef CSR_SUPPORT_SME
CsrInt8 uf_get_protection_bit_from_interfacemode(unifi_priv_t *priv, CsrUint16 interfaceTag, const u8 *daddr) s8 uf_get_protection_bit_from_interfacemode(unifi_priv_t *priv, CsrUint16 interfaceTag, const u8 *daddr)
{ {
CsrInt8 protection = 0; s8 protection = 0;
netInterface_priv_t *interfacePriv = priv->interfacePriv[interfaceTag]; netInterface_priv_t *interfacePriv = priv->interfacePriv[interfaceTag];
switch(interfacePriv->interfaceMode) switch(interfacePriv->interfaceMode)
...@@ -2205,7 +2205,7 @@ void uf_process_ma_vif_availibility_ind(unifi_priv_t *priv,u8 *sigdata, ...@@ -2205,7 +2205,7 @@ void uf_process_ma_vif_availibility_ind(unifi_priv_t *priv,u8 *sigdata,
static CsrBool uf_is_more_data_for_delivery_ac(unifi_priv_t *priv, CsrWifiRouterCtrlStaInfo_t *staRecord) static CsrBool uf_is_more_data_for_delivery_ac(unifi_priv_t *priv, CsrWifiRouterCtrlStaInfo_t *staRecord)
{ {
CsrInt8 i; s8 i;
for(i=UNIFI_TRAFFIC_Q_VO; i >= UNIFI_TRAFFIC_Q_BK; i--) for(i=UNIFI_TRAFFIC_Q_VO; i >= UNIFI_TRAFFIC_Q_BK; i--)
{ {
...@@ -2223,7 +2223,7 @@ static CsrBool uf_is_more_data_for_delivery_ac(unifi_priv_t *priv, CsrWifiRouter ...@@ -2223,7 +2223,7 @@ static CsrBool uf_is_more_data_for_delivery_ac(unifi_priv_t *priv, CsrWifiRouter
static CsrBool uf_is_more_data_for_usp_delivery(unifi_priv_t *priv, CsrWifiRouterCtrlStaInfo_t *staRecord, unifi_TrafficQueue queue) static CsrBool uf_is_more_data_for_usp_delivery(unifi_priv_t *priv, CsrWifiRouterCtrlStaInfo_t *staRecord, unifi_TrafficQueue queue)
{ {
CsrInt8 i; s8 i;
for(i = queue; i >= UNIFI_TRAFFIC_Q_BK; i--) for(i = queue; i >= UNIFI_TRAFFIC_Q_BK; i--)
{ {
...@@ -2269,7 +2269,7 @@ void uf_send_buffered_data_from_delivery_ac(unifi_priv_t *priv, ...@@ -2269,7 +2269,7 @@ void uf_send_buffered_data_from_delivery_ac(unifi_priv_t *priv,
tx_buffered_packets_t * buffered_pkt = NULL; tx_buffered_packets_t * buffered_pkt = NULL;
unsigned long lock_flags; unsigned long lock_flags;
CsrBool eosp=FALSE; CsrBool eosp=FALSE;
CsrInt8 r =0; s8 r =0;
CsrBool moreData = FALSE; CsrBool moreData = FALSE;
netInterface_priv_t *interfacePriv = priv->interfacePriv[interfaceTag]; netInterface_priv_t *interfacePriv = priv->interfacePriv[interfaceTag];
...@@ -2370,7 +2370,7 @@ void uf_send_buffered_data_from_ac(unifi_priv_t *priv, ...@@ -2370,7 +2370,7 @@ void uf_send_buffered_data_from_ac(unifi_priv_t *priv,
unsigned long lock_flags; unsigned long lock_flags;
CsrBool eosp=FALSE; CsrBool eosp=FALSE;
CsrBool moreData = FALSE; CsrBool moreData = FALSE;
CsrInt8 r =0; s8 r =0;
func_enter(); func_enter();
...@@ -2639,7 +2639,7 @@ int uf_process_station_records_for_sending_data(unifi_priv_t *priv,CsrUint16 int ...@@ -2639,7 +2639,7 @@ int uf_process_station_records_for_sending_data(unifi_priv_t *priv,CsrUint16 int
static void uf_handle_uspframes_delivery(unifi_priv_t * priv, CsrWifiRouterCtrlStaInfo_t *staInfo, CsrUint16 interfaceTag) static void uf_handle_uspframes_delivery(unifi_priv_t * priv, CsrWifiRouterCtrlStaInfo_t *staInfo, CsrUint16 interfaceTag)
{ {
CsrInt8 i; s8 i;
u8 allDeliveryEnabled = 0, dataAvailable = 0; u8 allDeliveryEnabled = 0, dataAvailable = 0;
netInterface_priv_t *interfacePriv = priv->interfacePriv[interfaceTag]; netInterface_priv_t *interfacePriv = priv->interfacePriv[interfaceTag];
unsigned long lock_flags; unsigned long lock_flags;
...@@ -3059,7 +3059,7 @@ void uf_process_ps_poll(unifi_priv_t *priv,u8* sa,u8* da,u8 pmBit,CsrUint16 inte ...@@ -3059,7 +3059,7 @@ void uf_process_ps_poll(unifi_priv_t *priv,u8* sa,u8* da,u8 pmBit,CsrUint16 inte
tx_buffered_packets_t * buffered_pkt = NULL; tx_buffered_packets_t * buffered_pkt = NULL;
CsrWifiMacAddress peerMacAddress; CsrWifiMacAddress peerMacAddress;
unsigned long lock_flags; unsigned long lock_flags;
CsrInt8 r =0; s8 r =0;
CsrBool moreData = FALSE; CsrBool moreData = FALSE;
netInterface_priv_t *interfacePriv = priv->interfacePriv[interfaceTag]; netInterface_priv_t *interfacePriv = priv->interfacePriv[interfaceTag];
...@@ -3233,7 +3233,7 @@ void uf_process_ps_poll(unifi_priv_t *priv,u8* sa,u8* da,u8 pmBit,CsrUint16 inte ...@@ -3233,7 +3233,7 @@ void uf_process_ps_poll(unifi_priv_t *priv,u8* sa,u8* da,u8 pmBit,CsrUint16 inte
} }
} else { } else {
CsrInt8 i; s8 i;
/* We dont have buffered packet in mangement frame queue (1 failed), So proceed with condition 2 /* We dont have buffered packet in mangement frame queue (1 failed), So proceed with condition 2
* UNIFI_TRAFFIC_Q_VO -> VI -> BE -> BK * UNIFI_TRAFFIC_Q_VO -> VI -> BE -> BK
*/ */
......
...@@ -1071,7 +1071,7 @@ CsrBool blockack_session_stop(unifi_priv_t *priv, ...@@ -1071,7 +1071,7 @@ CsrBool blockack_session_stop(unifi_priv_t *priv,
CsrWifiMacAddress macAddress); CsrWifiMacAddress macAddress);
#ifdef CSR_SUPPORT_SME #ifdef CSR_SUPPORT_SME
/* Fetch the protection information from interface Mode */ /* Fetch the protection information from interface Mode */
CsrInt8 uf_get_protection_bit_from_interfacemode(unifi_priv_t *priv, CsrUint16 interfaceTag, const u8 *daddr); s8 uf_get_protection_bit_from_interfacemode(unifi_priv_t *priv, CsrUint16 interfaceTag, const u8 *daddr);
#endif #endif
/* Fetch the station record handler from data base for matching Mac address */ /* Fetch the station record handler from data base for matching Mac address */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment