James Carlson wrote:
> Lizhong Li writes:
>   
>> For testing, we are developing a test "fake" NIC driver which is able to
>> pose as a wired or wireless NIC, this is supposed to simulate link
>>     
>
> I'm not sure who "we" are here, but this has already been done --
> Rishi Srivatsavai created a driver called "simlink" that simulates a
> point-to-point Ethernet (wired or wireless) connection.
>
> It should be in ARC review shortly.
>
>   
Yes, I meant Rishi. And this is a good news.
>> up/down, device plug/unplug, and such events, without require any
>> physical infrastructure support. Cecilia has a question about it,
>> whether the "fake" driver could simulate the real behavior like real
>> wifi drivers since the different wifi drivers have the different
>> policies to deal with some events, e.g., they'll wait various time to
>> retry when they lose the connection to AP, then the 'fake' driver how to
>> handle it ?
>>     
>
> That's a good question.  The current 'simlink' just has a simple
> connected state and a programmable scan list.  But a better approach
> would be to develop an API that can be used on the AP side of the
> simulated link, and have all of the client-side requests come through
> that API to user space where we can emulate any sort of behavior
> (including errors) that we want.
>
>   

-- 
Thanks,
Lizhong


Reply via email to