Searched refs:up_bound (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
H A D | rt73usb.c | 920 u8 up_bound; rt73usb_link_tuner() local 928 up_bound = 0x48; rt73usb_link_tuner() 932 up_bound += 0x10; rt73usb_link_tuner() 937 up_bound = 0x40; rt73usb_link_tuner() 940 up_bound = 0x20; rt73usb_link_tuner() 943 up_bound = 0x1c; rt73usb_link_tuner() 948 up_bound += 0x10; rt73usb_link_tuner() 971 rt73usb_set_vgc(rt2x00dev, qual, up_bound); rt73usb_link_tuner() 992 * Special case: Change up_bound based on the rssi. rt73usb_link_tuner() 993 * Lower up_bound when rssi is weaker then -74 dBm. rt73usb_link_tuner() 995 up_bound -= 2 * (-74 - qual->rssi); rt73usb_link_tuner() 996 if (low_bound > up_bound) rt73usb_link_tuner() 997 up_bound = low_bound; rt73usb_link_tuner() 999 if (qual->vgc_level > up_bound) { rt73usb_link_tuner() 1000 rt73usb_set_vgc(rt2x00dev, qual, up_bound); rt73usb_link_tuner() 1010 if ((qual->false_cca > 512) && (qual->vgc_level < up_bound)) rt73usb_link_tuner() 1012 min_t(u8, qual->vgc_level + 4, up_bound)); rt73usb_link_tuner()
|
H A D | rt61pci.c | 1045 u8 up_bound; rt61pci_link_tuner() local 1053 up_bound = 0x48; rt61pci_link_tuner() 1056 up_bound += 0x10; rt61pci_link_tuner() 1060 up_bound = 0x40; rt61pci_link_tuner() 1063 up_bound += 0x10; rt61pci_link_tuner() 1086 rt61pci_set_vgc(rt2x00dev, qual, up_bound); rt61pci_link_tuner() 1107 * Special case: Change up_bound based on the rssi. rt61pci_link_tuner() 1108 * Lower up_bound when rssi is weaker then -74 dBm. rt61pci_link_tuner() 1110 up_bound -= 2 * (-74 - qual->rssi); rt61pci_link_tuner() 1111 if (low_bound > up_bound) rt61pci_link_tuner() 1112 up_bound = low_bound; rt61pci_link_tuner() 1114 if (qual->vgc_level > up_bound) { rt61pci_link_tuner() 1115 rt61pci_set_vgc(rt2x00dev, qual, up_bound); rt61pci_link_tuner() 1125 if ((qual->false_cca > 512) && (qual->vgc_level < up_bound)) rt61pci_link_tuner()
|
Completed in 108 milliseconds