Lines Matching defs:body_rates
1340 struct malo_cmd_tlv_rates *body_rates;
1345 sizeof(*body_ssid) + sizeof(*body_chanlist) + sizeof(*body_rates);
1371 body_rates = (struct malo_cmd_tlv_rates *)(body_chanlist + 1);
1372 body_rates->type = htole16(MALO_TLV_TYPE_RATES);
1373 body_rates->size =
1375 memcpy(body_rates->data, ic->ic_sup_rates[IEEE80211_MODE_11B].rs_rates,
1377 psize += le16toh(body_rates->size);
1379 memset((char *)(body_rates + 1) + le16toh(body_rates->size), 0,
1814 struct malo_cmd_tlv_rates *body_rates;
1819 sizeof(body_phy) + sizeof(*body_cf) + sizeof(*body_rates);
1851 body_rates = (struct malo_cmd_tlv_rates *)(body_cf + 1);
1852 body_rates->type = htole16(MALO_TLV_TYPE_RATES);
1853 body_rates->size = htole16(strlen(sc->sc_net[sc->sc_net_cur].rates));
1854 memcpy(body_rates->data, sc->sc_net[sc->sc_net_cur].rates,
1855 le16toh(body_rates->size));
1856 psize += le16toh(body_rates->size);
1860 ((char *)(body_rates + 1) + le16toh(body_rates->size));
1862 body_passeid->size = body_rates->size;
1863 memcpy(body_passeid->data, body_rates->data, le16toh(body_rates->size));