Searched refs:atom_len (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/wireless/orinoco/
H A Dscan.c172 size_t atom_len; orinoco_add_hostscan_results() local
177 atom_len = sizeof(struct agere_scan_apinfo); orinoco_add_hostscan_results()
189 atom_len = 68; orinoco_add_hostscan_results()
191 atom_len = 76; orinoco_add_hostscan_results()
193 atom_len = 76; orinoco_add_hostscan_results()
195 atom_len = 68; orinoco_add_hostscan_results()
202 atom_len = le16_to_cpup((__le16 *)buf); orinoco_add_hostscan_results()
203 /* Sanity check for atom_len */ orinoco_add_hostscan_results()
204 if (atom_len < sizeof(struct prism2_scan_apinfo)) { orinoco_add_hostscan_results()
205 printk(KERN_ERR "%s: Invalid atom_len in scan " orinoco_add_hostscan_results()
207 atom_len); orinoco_add_hostscan_results()
212 atom_len = offsetof(struct prism2_scan_apinfo, atim); orinoco_add_hostscan_results()
221 if ((len - offset) % atom_len) { orinoco_add_hostscan_results()
223 "atom_len %zu, offset %d\n", priv->ndev->name, len, orinoco_add_hostscan_results()
224 atom_len, offset); orinoco_add_hostscan_results()
230 for (; offset + atom_len <= len; offset += atom_len) { orinoco_add_hostscan_results()
H A Dmain.c1168 const int atom_len = offsetof(struct prism2_scan_apinfo, atim); orinoco_join_ap() local
1204 for (; offset + atom_len <= len; offset += atom_len) { orinoco_join_ap()

Completed in 235 milliseconds