Home
last modified time | relevance | path

Searched refs:fromDs (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/csr/
Dunifi_pdu_processing.c134 u8 toDs, fromDs, macHeaderLengthInBytes = MAC_HEADER_SIZE; in frame_and_send_queued_pdu() local
162 fromDs = (*fc & cpu_to_le16(IEEE802_11_FC_FROM_DS_MASK))? 1: 0; in frame_and_send_queued_pdu()
169 if (fromDs && toDs) { in frame_and_send_queued_pdu()
186 if (fromDs && toDs) in frame_and_send_queued_pdu()
1259 u8 direction = 0, toDs, fromDs; in update_macheader() local
1281 fromDs = (*fc & cpu_to_le16(IEEE802_11_FC_FROM_DS_MASK))? 1: 0; in update_macheader()
1282 … unifi_trace(priv, UDBG5, "In update_macheader function, fromDs = %x, toDs = %x\n", fromDs, toDs); in update_macheader()
1283 direction = ((fromDs | (toDs << 1)) & 0x3); in update_macheader()
1288 memcpy(sa, macHeaderBuf+10+fromDs*(6+toDs*8), ETH_ALEN); in update_macheader()
2904 u8 toDs, fromDs; in uf_check_broadcast_bssid() local
[all …]
Dnetdev.c2144 u8 toDs, fromDs, frameType, macHeaderLengthInBytes = MAC_HEADER_SIZE; in unifi_rx() local
2180 fromDs = (skb->data[1] & 0x02) ? 1 : 0; in unifi_rx()
2183 memcpy(sa,(skb->data+10+fromDs*(6+toDs*8)),ETH_ALEN); /* Address2, 3 or 4 */ in unifi_rx()
2199 if (fromDs && toDs) in unifi_rx()
2214 if (fromDs && toDs) in unifi_rx()
2469 u8 toDs, fromDs, frameType; in process_ma_packet_ind() local
2522 fromDs = (skb->data[1] & 0x02) ? 1 : 0; in process_ma_packet_ind()
2525 memcpy(sa,(skb->data+10+fromDs*(6+toDs*8)),ETH_ALEN); /* Address2, 3 or 4 */ in process_ma_packet_ind()
2528 if (toDs && fromDs) in process_ma_packet_ind()
2535 bssid = (u8 *) (skb->data + 4 + 12 - (fromDs * 6) - (toDs * 12)); in process_ma_packet_ind()