Lines Matching refs:body
1446 * n bytes 802.11 frame body
2009 struct malo_cmd_postscan *body;
2012 hdr->size = htole16(sizeof(*hdr) + sizeof(*body));
2015 body = (struct malo_cmd_postscan *)(hdr + 1);
2017 memset(body, 0, sizeof(*body));
2018 memcpy(&body->bssid, macaddr, ETHER_ADDR_LEN);
2019 body->isibss = htole32(ibsson);
2032 struct malo_cmd_channel *body;
2038 hdr->size = htole16(sizeof(*hdr) + sizeof(*body));
2041 body = (struct malo_cmd_channel *)(hdr + 1);
2043 memset(body, 0, sizeof(*body));
2044 body->action = htole16(1);
2045 body->channel = channel;
2057 struct malo_cmd_antenna *body;
2060 hdr->size = htole16(sizeof(*hdr) + sizeof(*body));
2063 body = (struct malo_cmd_antenna *)(hdr + 1);
2065 memset(body, 0, sizeof(*body));
2066 body->action = htole16(antenna);
2068 body->mode = htole16(0xffff);
2070 body->mode = htole16(2);
2083 struct malo_cmd_radio *body;
2086 hdr->size = htole16(sizeof(*hdr) + sizeof(*body));
2089 body = (struct malo_cmd_radio *)(hdr + 1);
2091 memset(body, 0, sizeof(*body));
2092 body->action = htole16(1);
2093 body->preamble_mode = htole16(preamble_mode);
2094 body->enable = htole16(enable);
2106 struct malo_cmd_aid *body;
2109 hdr->size = htole16(sizeof(*hdr) + sizeof(*body));
2112 body = (struct malo_cmd_aid *)(hdr + 1);
2114 memset(body, 0, sizeof(*body));
2115 body->associd = htole16(associd);
2116 memcpy(&body->macaddr[0], bssid, IEEE80211_ADDR_LEN);
2128 struct malo_cmd_txpower *body;
2131 hdr->size = htole16(sizeof(*hdr) + sizeof(*body));
2134 body = (struct malo_cmd_txpower *)(hdr + 1);
2136 memset(body, 0, sizeof(*body));
2137 body->action = htole16(1);
2139 body->supportpowerlvl = htole16(5); /* LOW */
2141 body->supportpowerlvl = htole16(10); /* MEDIUM */
2143 body->supportpowerlvl = htole16(15); /* HIGH */
2155 struct malo_cmd_rts *body;
2158 hdr->size = htole16(sizeof(*hdr) + sizeof(*body));
2161 body = (struct malo_cmd_rts *)(hdr + 1);
2163 memset(body, 0, sizeof(*body));
2164 body->action = htole16(1);
2165 body->threshold = htole32(threshold);
2177 struct malo_cmd_slot *body;
2180 hdr->size = htole16(sizeof(*hdr) + sizeof(*body));
2183 body = (struct malo_cmd_slot *)(hdr + 1);
2185 memset(body, 0, sizeof(*body));
2186 body->action = htole16(1);
2187 body->slot = slot;
2200 struct malo_cmd_rate *body;
2204 hdr->size = htole16(sizeof(*hdr) + sizeof(*body));
2207 body = (struct malo_cmd_rate *)(hdr + 1);
2209 memset(body, 0,sizeof(*body));
2215 body->aprates[0] = 2;
2216 body->aprates[1] = 4;
2217 body->aprates[2] = 11;
2218 body->aprates[3] = 22;
2220 body->aprates[4] = 0;
2221 body->aprates[5] = 12;
2222 body->aprates[6] = 18;
2223 body->aprates[7] = 24;
2224 body->aprates[8] = 36;
2225 body->aprates[9] = 48;
2226 body->aprates[10] = 72;
2227 body->aprates[11] = 96;
2228 body->aprates[12] = 108;
2235 if (body->aprates[i] == rate) {
2236 body->rateindex = i;
2237 body->dataratetype = 1;