Home
last modified time | relevance | path

Searched refs:uint16 (Results 1 – 25 of 50) sorted by relevance

12

/drivers/net/wireless/bcmdhd/common/include/proto/
Dethernet.h127 uint16 ether_type;
158 #define eacmp(a, b) ((((const uint16 *)(a))[0] ^ ((const uint16 *)(b))[0]) | \
159 (((const uint16 *)(a))[1] ^ ((const uint16 *)(b))[1]) | \
160 (((const uint16 *)(a))[2] ^ ((const uint16 *)(b))[2]))
167 ((uint16 *)(d))[0] = ((const uint16 *)(s))[0]; \
168 ((uint16 *)(d))[1] = ((const uint16 *)(s))[1]; \
169 ((uint16 *)(d))[2] = ((const uint16 *)(s))[2]; \
177 ((uint16 *)(d))[2] = ((uint16 *)(s))[2]; \
178 ((uint16 *)(d))[1] = ((uint16 *)(s))[1]; \
179 ((uint16 *)(d))[0] = ((uint16 *)(s))[0]; \
[all …]
Dbt_amp_hci.h36 uint16 opcode;
142 uint16 bredr;
218 uint16 opcode;
223 uint16 opcode;
228 uint16 handle;
239 uint16 len;
251 uint16 PAL_cap;
252 uint16 AMP_ASSOC_len;
259 uint16 llh;
266 uint16 llh;
[all …]
D802.11.h104 uint16 type; /* ethertype */
117 uint16 fc; /* frame control */
118 uint16 durid; /* duration/ID */
122 uint16 seq; /* sequence control */
129 uint16 fc; /* frame control */
130 uint16 durid; /* duration/ID */
137 uint16 fc; /* frame control */
138 uint16 durid; /* duration/ID */
144 uint16 fc; /* frame control */
145 uint16 durid; /* duration/ID */
[all …]
Dvlan.h55 uint16 vlan_type; /* 0x8100 */
56 uint16 vlan_tag; /* priority, cfi and vid */
62 uint16 vlan_type; /* 0x8100 */
63 uint16 vlan_tag; /* priority, cfi and vid */
64 uint16 ether_type;
70 uint16 length; /* frame length incl header */
77 uint16 vlan_type; /* 0x8100 */
78 uint16 vlan_tag; /* priority, cfi and vid */
79 uint16 ether_type; /* ethertype */
Dbcmevent.h62 uint16 version;
63 uint16 flags; /* see flags below */
76 uint16 version;
77 uint16 flags; /* see flags below */
329 uint16 version;
330 uint16 channel; /* Matches chanspec_t format from bcmwifi_channels.h */
402 uint16 channel; /* channel of GAS protocol */
405 uint16 status_code; /* status code on GAS completion */
406 uint16 data_len; /* length of data to follow */
412 uint16 length; /* length of response_data */
[all …]
Dp2p.h259 uint16 cat_id; /* Category ID */
262 uint16 sub_cat_id; /* Sub Category ID */
271 uint16 wps_cfg_meths; /* Config Methods: reg_prototlv.h WPS_CONFMET_* */
492 uint16 svc_updi; /* Service Update Indicator */
501 uint16 len; /* Length: 5 plus size of Query Data */
510 uint16 info_id; /* Info ID: 0xDDDD */
511 uint16 len; /* Length of service request TLV, 5 plus the size of request data */
521 uint16 qreq_len; /* Query Request Length */
528 uint16 len; /* Length: 5 plus size of Query Data */
538 uint16 info_id; /* Info ID: 0xDDDD */
[all …]
Dbcmip.h110 uint16 tot_len; /* Number of bytes in packet (max 65535) */
111 uint16 id;
112 uint16 frag; /* 3 flag bits and fragment offset */
115 uint16 hdr_chksum; /* IP header checksum */
180 uint16 frag_off;
187 uint16 len = 0, hlen; in ipv6_exthdr_len()
D802.11e.h60 uint16 nom_msdu_size; /* (Nominal or fixed) MSDU Size (bytes) */
61 uint16 max_msdu_size; /* Maximum MSDU Size (bytes) */
73 uint16 surplus_bw; /* Surplus Bandwidth Allowance (range 1.0-8.0) */
74 uint16 medium_time; /* Medium Time (32 us/s periods) */
Dbcmeth.h100 uint16 subtype; /* Vendor specific..32769 */
101 uint16 length;
105 uint16 usr_subtype;
D802.3.h39 uint16 length; /* frame length incl header */
46 uint16 type; /* ethertype */
/drivers/net/wireless/bcmdhd/include/
Dsbsdpcmdev.h75 uint16 pcmciamesportaladdr; /* PcmciaMesPortalAddr, 0x010, rev8 */
76 uint16 PAD[1];
77 uint16 pcmciamesportalmask; /* PcmciaMesPortalMask, 0x014, rev8 */
78 uint16 PAD[1];
79 uint16 pcmciawrframebc; /* PcmciaWrFrameBC, 0x018, rev8 */
80 uint16 PAD[1];
81 uint16 pcmciaunderflowtimer; /* PcmciaUnderflowTimer, 0x01c, rev8 */
82 uint16 PAD[1];
140 uint16 PAD[55];
143 uint16 backplanecsr; /* BackplaneCSR, 0x76E, rev6 */
[all …]
Dwlioctl.h76 uint16 len;
103 uint16 id;
125 uint16 beacon_period; /* units are Kusec */
126 uint16 capability; /* Capability information */
134 uint16 atim_window; /* units are Kusec */
158 uint16 beacon_period; /* units are Kusec */
159 uint16 capability; /* Capability information */
167 uint16 atim_window; /* units are Kusec */
180 uint16 ie_offset; /* offset at which IEs start, from beginning */
200 uint16 beacon_period; /* units are Kusec */
[all …]
Dbcmendian.h37 ((uint16)((((uint16)(val) & (uint16)0x00ffU) << 8) | \
38 (((uint16)(val) & (uint16)0xff00U) >> 8)))
91 sizeof(*(ptr)) == sizeof(uint16) ? _LTOH16_UA((const uint8 *)(ptr)) : \
97 sizeof(*(ptr)) == sizeof(uint16) ? _NTOH16_UA((const uint8 *)(ptr)) : \
108 uint16 _val = (val); \
123 uint16 *_buf = (uint16 *)(buf); \
132 uint16 _val = (val); \
148 uint16 _val = (val); \
186 static INLINE uint16
187 bcmswap16(uint16 val) in bcmswap16()
[all …]
Dbcmsdstd.h103 uint16 nbytes[SDIOH_MAXGLOM_SIZE]; /* Size of each frame */
121 uint16 intmask; /* Current active interrupts */
141 uint16 card_rca; /* Current Address */
162 uint16 last_intrstatus; /* to cache intrstatus */
218 extern void sdstd_intrs_on(sdioh_info_t *sd, uint16 norm, uint16 err);
219 extern void sdstd_intrs_off(sdioh_info_t *sd, uint16 norm, uint16 err);
222 extern void sdstd_spinbits(sdioh_info_t *sd, uint16 norm, uint16 err);
243 extern int sdstd_waitbits(sdioh_info_t *sd, uint16 norm, uint16 err, bool yield, uint16 *bits);
Dbcmutils.h111 uint16 len; /* number of queued packets */
112 uint16 max; /* maximum number of queued packets */
150 uint16 num_prec; /* number of precedences in use */ \
151 uint16 hi_prec; /* rapid dequeue hint (>= highest non-empty prec) */ \
152 uint16 max; /* total max packets */ \
153 uint16 len; /* total number of packets */
229 uint16 r;
230 uint16 w;
231 uint16 len;
232 uint16 maxlen;
[all …]
Dbcmsdh.h198 void *(*attach)(uint16 vend_id, uint16 dev_id, uint16 bus, uint16 slot,
199 uint16 func, uint bustype, void * regsva, osl_t * osh,
208 extern bool bcmsdh_chipmatch(uint16 vendor, uint16 device);
Dbcm_mpool_pub.h112 uint16 nobj; /* Total number of objects in this pool */
113 uint16 num_alloc; /* Number of objects currently allocated */
114 uint16 high_water; /* Max number of allocated objects. */
115 uint16 failed_alloc; /* Failed allocations. */
Dsiutils.h206 extern uint16 si_clkctl_fast_pwrup_delay(si_t *sih);
254 extern uint16 si_d11_devid(si_t *sih);
255 extern int si_corepciid(si_t *sih, uint func, uint16 *pcivendor, uint16 *pcidevice,
289 extern int si_otp_fabid(si_t *sih, uint16 *fabid, bool rw);
290 extern uint16 si_fabid(si_t *sih);
342 extern void si_pcie_set_request_size(si_t *sih, uint16 size);
343 extern uint16 si_pcie_get_request_size(si_t *sih);
344 extern void si_pcie_set_maxpayload_size(si_t *sih, uint16 size);
345 extern uint16 si_pcie_get_maxpayload_size(si_t *sih);
346 extern uint16 si_pcie_get_ssid(si_t *sih);
Dmsgtrace.h46 uint16 len; /* Len of the trace */
66 uint16 hdrlen, uint8 *buf, uint16 buflen);
/drivers/net/wireless/bcmdhd/
Ddhd_pno.h115 uint16 flags;
125 uint16 rtt0; /* distance_cm based on RTT */
126 uint16 rtt1; /* distance_cm based on sample standard deviation */
162 uint16 scan_fr;
163 uint16 chan_list[WL_NUMCHANNELS];
164 uint16 nchan;
175 uint16 chan_list[WL_NUMCHANNELS];
176 uint16 nchan;
177 uint16 rtt;
183 uint16 chan_list[WL_NUMCHANNELS];
[all …]
Ddhd_ip.c48 uint16 ethertype; in pkt_frag_info()
51 uint16 iph_frag; in pkt_frag_info()
62 } else if (ntoh16(*(uint16 *)(frame + ETHER_TYPE_OFFSET)) >= ETHER_TYPE_MIN) { in pkt_frag_info()
73 ethertype = ntoh16(*(uint16 *)pt); in pkt_frag_info()
84 ethertype = ntoh16(*(uint16 *)pt); in pkt_frag_info()
Ddhd_bta.c80 dhd_bta_flush_hcidata(dhd_pub_t *pub, uint16 llh) in dhd_bta_flush_hcidata()
118 uint16 handle = ltoh16(ACL_data->handle); in dhd_bta_flush_hcidata()
273 uint16 handle = ltoh16(ACL_data->handle); in dhd_bta_tx_hcidata_complete()
274 uint16 llh = HCI_ACL_DATA_HANDLE(handle); in dhd_bta_tx_hcidata_complete()
281 uint16 len = HCI_EVT_PREAMBLE_SIZE + sizeof(num_completed_data_blocks_evt_parms_t); in dhd_bta_tx_hcidata_complete()
Dbcmwifi_channels.c756 chspec_ch = (((uint16)ch1_id << WL_CHANSPEC_CHAN1_SHIFT) | in wf_chspec_aton()
757 ((uint16)ch2_id << WL_CHANSPEC_CHAN2_SHIFT)); in wf_chspec_aton()
873 uint16 ch1, ch2; in wf_chspec_valid()
1009 uint16
1012 uint16 chspec; in wf_channel2chspec()
1190 uint16 chan; /* channel number */
1191 uint16 freq; /* in MHz */
Ddhd_sdio.c227 uint16 cl_devid; /* cached devid for dhdsdio_probe_attach() */
242 uint16 nextlen; /* Next Read Len from last header */
322 uint16 pktgen_len; /* Length of next packet to send */
325 uint16 pktgen_rcv_state; /* receive state */
367 uint16 glom_cnt; /* Number of pkts in the glom array */
368 uint16 glom_total_len; /* Total length of pkts in glom array */
563 static bool dhdsdio_chipmatch(uint16 chipid);
565 void * regsva, uint16 devid);
1557 uint16 eh_type; in dhd_tcpack_suppress()
1623 uint16 ip_tcp_ttllen = (ip_header[3] & 0xff) + (ip_header[2] << 8); in dhd_tcpack_suppress()
[all …]
Dbcmutils.c487 pq->num_prec = (uint16)num_prec; in pktq_init()
489 pq->max = (uint16)max_len; in pktq_init()
501 pq->q[prec].max = (uint16)max_len; in pktq_set_max_plen()
1136 ASSERT(ISALIGNED((uintptr)pktdata, sizeof(uint16))); in pktsetprio()
1141 uint16 vlan_tag; in pktsetprio()
1172 vlan_tag |= (uint16)priority << VLAN_PRI_SHIFT; in pktsetprio()
1406 static const uint16 crc16_table[256] = {
1441 uint16
1445 uint16 crc /* either CRC16_INIT_VALUE or previous return value */ in hndcrc16()
1936 static const uint16 nqdBm_to_mW_map[QDBM_TABLE_LEN] = {
[all …]

12