moved linkconfig to CoreNetworkBase and made linkconfig defined the same across the board

This commit is contained in:
Blake Harnden 2020-05-22 23:44:10 -07:00
parent fe09b37819
commit dd13bc8379
7 changed files with 44 additions and 37 deletions

View file

@ -335,12 +335,7 @@ class BasicRangeModel(WirelessModel):
with self._netifslock:
for netif in self._netifs:
self.wlan.linkconfig(
netif,
bw=self.bw,
delay=self.delay,
loss=self.loss,
duplicate=None,
jitter=self.jitter,
netif, self.bw, self.delay, self.loss, jitter=self.jitter
)
def get_position(self, netif: CoreInterface) -> Tuple[float, float, float]: