• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/wlags49_h2/

Lines Matching defs:rrq

1823 static int wireless_get_power(struct net_device *dev, struct iw_request_info *info, struct iw_param *rrq, char *extra)
1844 rrq->flags = 0;
1845 rrq->value = 0;
1848 rrq->disabled = 0;
1850 rrq->disabled = 1;
1885 static int wireless_get_tx_power(struct net_device *dev, struct iw_request_info *info, struct iw_param *rrq, char *extra)
1904 rrq->value = RADIO_TX_POWER_DBM;
1905 rrq->flags = IW_TXPOW_DBM;
1907 rrq->value = RADIO_TX_POWER_MWATT;
1908 rrq->flags = IW_TXPOW_MWATT;
1910 rrq->fixed = 1;
1911 rrq->disabled = 0;
2080 static int wireless_set_rate(struct net_device *dev, struct iw_request_info *info, struct iw_param *rrq, char *extra)
2124 if( rrq->value > 0 &&
2125 rrq->value <= 1 * MEGABIT ) {
2128 else if( rrq->value > 1 * MEGABIT &&
2129 rrq->value <= 2 * MEGABIT ) {
2130 if( rrq->fixed == 1 ) {
2136 else if( rrq->value > 2 * MEGABIT &&
2137 rrq->value <= 5 * MEGABIT ) {
2138 if( rrq->fixed == 1 ) {
2144 else if( rrq->value > 5 * MEGABIT &&
2145 rrq->value <= 6 * MEGABIT ) {
2146 if( rrq->fixed == 1 ) {
2152 else if( rrq->value > 6 * MEGABIT &&
2153 rrq->value <= 9 * MEGABIT ) {
2154 if( rrq->fixed == 1 ) {
2160 else if( rrq->value > 9 * MEGABIT &&
2161 rrq->value <= 11 * MEGABIT ) {
2162 if( rrq->fixed == 1 ) {
2168 else if( rrq->value > 11 * MEGABIT &&
2169 rrq->value <= 12 * MEGABIT ) {
2170 if( rrq->fixed == 1 ) {
2176 else if( rrq->value > 12 * MEGABIT &&
2177 rrq->value <= 18 * MEGABIT ) {
2178 if( rrq->fixed == 1 ) {
2184 else if( rrq->value > 18 * MEGABIT &&
2185 rrq->value <= 24 * MEGABIT ) {
2186 if( rrq->fixed == 1 ) {
2192 else if( rrq->value > 24 * MEGABIT &&
2193 rrq->value <= 36 * MEGABIT ) {
2194 if( rrq->fixed == 1 ) {
2200 else if( rrq->value > 36 * MEGABIT &&
2201 rrq->value <= 48 * MEGABIT ) {
2202 if( rrq->fixed == 1 ) {
2208 else if( rrq->value > 48 * MEGABIT &&
2209 rrq->value <= 54 * MEGABIT ) {
2210 if( rrq->fixed == 1 ) {
2216 else if( rrq->fixed == 0 ) {
2221 rrq->value = 0;
2229 if( rrq->value > 0 &&
2230 rrq->value <= 1 * MEGABIT ) {
2233 else if( rrq->value > 1 * MEGABIT &&
2234 rrq->value <= 2 * MEGABIT ) {
2235 if( rrq->fixed ) {
2241 else if( rrq->value > 2 * MEGABIT &&
2242 rrq->value <= 5 * MEGABIT ) {
2243 if( rrq->fixed ) {
2249 else if( rrq->value > 5 * MEGABIT &&
2250 rrq->value <= 11 * MEGABIT ) {
2251 if( rrq->fixed) {
2257 else if( rrq->fixed == 0 ) {
2262 rrq->value = 0;
2307 static int wireless_get_rate(struct net_device *dev, struct iw_request_info *info, struct iw_param *rrq, char *extra)
2384 rrq->value = txRate * MEGABIT;
2386 rrq->value = 0;