阅读:1444回复:0
microsoft 1.22 chat postings
MS_Eric_S : Welcome to today\'s Chat. Our topic is NDIS driver development and testing. We have a great line-up of experts ready to tackle your questions.
MS_Eric_S : The Lower Room is where you can enter questions for our experts today. We will read them and select questions to answer. The questions and answers will be posted in this room, the Top Room. 8kf has joined the conversation. 8John has joined the conversation. MS_Eric_S : Please feel free to begin posting your questions in the room below. Please begin your questions with a Q: this will help us quickly identify the questions. MS_Eric_S : Let\'s introduce our experts (aka Hosts) for today. Aditya_MSFT : Hi! My name is Aditya Dube. I am an NDIS developer. BradW_MSFT : Hi, I\'m Brad Williamson, Software Design Engineer with the NDIS Team alid_MS : My name is Alireza Dabagh and I work on NDIS. Igor_MS : Hi, my name is Igor Kostic and I am the Program Manager for Wireless Devices. Om_MSFT : Hi, my name is Om and I am developer for Ndis Test Development team Sumeet_MS : Hi! My name is Sumeet Bawa. I am a network configuration developer. Jim_MS : Hi, I\'m Jim Mateer, the Microsoft Program Manager responsible for NDIS 8Gregor has joined the conversation. MS_Eric_S : Welcome everyone, let\'s get started! 8MS_Eric_S has made Eliyas_MSFT a Host. Eliyas_MSFT : Hi, My name is Eliyas Yakub. I\'m an Software Design Engineer in Core OS Team. 8Eric has left the conversation. 8Skurtz has joined the conversation. Jim_MS : Q: I recently read articles about RDMA(Remote DAM) and TOE(TCP/IP offload engine). Can someone comment about: 1)If MS is going to support RMDA and TOE in the Windows? 2)If so, how to get/learn about how to develop products for these two? Thanks. Yes, Mi 8Nick has joined the conversation. 8D- has left the conversation. Jim_MS : Yes, Microsoft will support TOE and RDMA in the next release of the OS. There will be information about these in the DDK distributed at WinHEC 8Nick has left the conversation. 8W has joined the conversation. 8Robert-Broadcom has joined the conversation. 8Ben has joined the conversation. 8D- has joined the conversation. Om_MSFT : Q: Are NDIS IM Drivere required to pass 2m_addre.tst? If so, not sure how can they do it without Miniport Driver underneath accepting the network address change (i.e getting reloaded)? Om_MSFT : A: Send mail to Ndiststr@microsoft.com with details about your IM Driver and we will get back to you. BradW_MSFT : Q- We are developing App\'s using VS.NET to communicate with microcontrollers using RS232, but the new generations have onchip USB or Ethernet, what is the better way to develop specic driver for this microcontrollers. BradW_MSFT : A- Do you wish to expose your device as a network device? If so, you should consider using Remote NDIS. 8LonBarnes has joined the conversation. 8ravi_ms has joined the conversation. 8Michael_MS has joined the conversation. 8LonBarnes has left the conversation. 8Paul_MS has joined the conversation. 8LonB has joined the conversation. 8MS_Eric_S has made Michael_MS a Host. 8MS_Eric_S has made Paul_MS a Host. 8michael has joined the conversation. alid_MS : bart : Q: Network Adapter driver, full MAC versus Miniport driver behavior: about flow controlling application sourced outgoing traffic : In a miniport dirver, this can be done using NDIS_STATUS_RESOURCES. In a full mac driver, how should the protocol be alid_MS : A: Full mac drivers have to queue packets the same way a desterilized miniport does. Jim_MS : Q: SAM : Sam:Q: When Mobile IP will be supported in MS TCP/ip? 8bblah has joined the conversation. Jim_MS : : There are plans to support Mobil IP. We don\'t have the TCPIP foks with us today, so I can\'t go into detail. More details will be presented at WinHEC 8Tracey has joined the conversation. BradW_MSFT : Q: Is your VS.Net/RS232 NDIS 5.0 model based? Where can I find the document on this? BradW_MSFT : A: RNDIS is for USB devices. Information about RNDIS be found at http://www.microsoft.com/hwdev/resources/hwservices/rndis.asp 8Robert-Broadcom has left the conversation. 8Robert-Broadcom has joined the conversation. 8LonB has left the conversation. 8LonB_MSFT has joined the conversation. Igor_MS : Q: There are a lot of rumors around Microsoft Soft WiFi for Wireless LAN. What is the status of Soft WiFi? A: The initial high-level concept of Soft Wi-Fi (also known as Native Wi-Fi) was presented at WinHEC2002. Native Wi-Fi is happening and a lot more Igor_MS : details will be disclosed at WinHEC2003. 8MS_Eric_S has made Soemin_MSFT a Host. 8Tracey has left the conversation. Soemin_MSFT : Q: Will the NDIS source be included with CE .NET? Soemin_MSFT : A: Yes for premium customer. MS_Eric_S : Everyone, please open Chat Options located at the top of your screen. Uncheck the boxes that say \"do not allow messages that contain urls\" & \"do not allow whispers\". Otherwise you will not be able to see any of the URLs that we post. Thanks! Igor_MS : Q: Also, How are wireless devices tested for the WHQL logo? Igor_MS : A: NDIS Tester, which is included in the Hardware Compatibility Tests (HCTs), allow you to select a wireless device tests. These have to be passed for a WHQL logo. BradW_MSFT : Q: are the slides from the winhec2002 for the soft wifi available online? BradW_MSFT : A: The slides for WinHEC 2002 are located at http://www.microsoft.com/hwdev/futurepc/winhec2002/default.asp MS_Eric_S : NOTE: Please note that if you did not see BradW\'s answer above, you need to check your chat options. Aditya_MSFT : Q: Do any flow charts exist that illustrate the correct action a miniport should take when receiving or transmitting packets? Aditya_MSFT : A: The current DDK does not have this. For the next DDK, after Windows Server 2003, we are adding State machine diagrams to the DDK. alid_MS : Q: MG : There is a OID_GEN_VLAN_ID introduced in NDIS 5.1, Is there any user interface to set this Oid? Also when Upper layer protocols query this Oid , do they use it to tag it? alid_MS : A: You can use WMI (GUID_NDIS_GEN_VLAN_ID). Setting a VID does not mean that the packets will be tagged with this VID or they will be tagged at all. The rules about what to do with outgoing or incoming packet when NIC supports VLAN are being updated and w alid_MS : are being updated and will be in next DDK. Jim_MS : Q: : There is an NDISUIO sample in the XP DDK, but the interface has already changed for XP SP1. Is there an updated sample and/or header file for NDISUIO? Jim_MS : A: What changed interface are you refering to? 8Skurtz has left the conversation. 8PepLluis has left the conversation. 8Sumeet_MS is away. 8FlappyJack has left the conversation. 8FlappyJack has joined the conversation. 8manfre has joined the conversation. MS_Eric_S : Hello. For those just joining the chat - Our topic is NDIS driver development and testing. We welcome your questions. Please begin them with a capital Q: and post them in the lower room. We will post answers in this room, the top room. Igor_MS : Q: Is there special tests for multiple PHYs devices? Igor_MS : A: If referring to wireless (like a/b or a/g) devices the answer is yes. The wireless tests in the HCTs have to be run against two APs, supporting corresponding PHYs (a and g or a and b). 8smides has joined the conversation. 8debbie has joined the conversation. 8patricia has joined the conversation. 8alabamagirl544 has joined the conversation. 8alabamagirl544 has left the conversation. alid_MS : Q: bart : alid_MS: You mean to link all from the protocol received ndis packets in a linked list, no matter how large it groes, and no feedback to the protocol? alid_MS : A: Yes 8patricia has left the conversation. 8Sumeet_MS has returned. 8Godfrey has left the conversation. 8Rohit has joined the conversation. 8Godfrey has joined the conversation. Eliyas_MSFT : Q:There is an NDISUIO sample in the XP DDK, but the interface has already changed for XP SP1. Is there an updated sample and/or header file for NDISUIO? Eliyas_MSFT : A: Please read this newsgroup posting http://groups.google.com/groups?selm=Y3bmZpdrCHA.2276%40cpmsftngxa09&output=gplain Aditya_MSFT : Q:what is the future for NDISUIO support? will Native WiFi supercede this driver? Aditya_MSFT : A: We are still evaluating the future of the interactions between NDISUIO and wireless. for Windows Longhorn Om_MSFT : Q: Are there any documents that describe which OID\'s actually change NDIS behaviour vs OID\'s that are simply for info purposes only? Om_MSFT : A: Can you elaborate on this question? Igor_MS : Q: Are there any other documents regarding Soft WiFi available online? Igor_MS : A: Not at this time. WinHEC2003 will be the place for disclosing the details on Native Wi-Fi. 8somaris has joined the conversation. 8Thomas_PCAUSA has left the conversation. alid_MS : Q: smides : Sometimes our NDIS miniport driver fails to unload after attempting to disable it from the Network Control Panel. Is this because we have previously indicated NDIS_STATUS_RESOURCES on a send attempt? Our MiniportHalt() is never called alid_MS : A: No failing the packets can not be the problem. You may have some packets or requests that you did not complete. 8Thomas_PCAUSA has joined the conversation. 8Janice has joined the conversation. 8pauls has joined the conversation. BradW_MSFT : Q: When and where the WinHEC2003 will be? BradW_MSFT : A: information about WinHEC2003 can be found at http://www.microsoft.com/hwdev/events/default.asp Aditya_MSFT : Q: i build a deserialize miniport driver for a gigabit ethernet adapter base on the source code of 8255x in DDK sample, everything is fine except working in IIS server. When a web page with CGI script being browser Aditya_MSFT : A: Please make sure the miniport the NDIS Tester. That is a way we verify our NDIS miniports too. Jim_MS : Q: somaris : When will NDIS6 arrive? Jim_MS : A: We will have a developer release of NDIS 6 functionality to hand out at WinHEC2003. This will give you sufficient information to begin NDIS 6 driver development. NDIS 6 will be released with future OS releases 8lCawley has joined the conversation. Aditya_MSFT : A:Fixing type above - Please make sure the miniport *passes* the NDIS Tester. That is a way we verify our NDIS miniports too. MS_Eric_S : Janice, please go to your chat options and Uncheck the boxes that say \"do not allow messages that contain urls\" & \"do not allow whispers\" alid_MS : Q: smides : alid_MS: We don\'t pend any OID Sets/Requests, but we do pend send requests. So it must be some transmit frame that\'s not completed back to NDIS? alid_MS : A: Yes. Om_MSFT : Q: How do you tell is a OID value will change the way NDIS works? Example, for an ethernet miniport, if it reports the speed as 10Mbps vs 100Mbps, does NDIS just ignore this anyway? Om_MSFT : A: Windows DDK enumerates all the OIDs with specific information about set/query or both. You can assume that networking stack can change behaviour based on OIDs Eliyas_MSFT : Q: zyh : Q: I was asked to write an NDIS driver to enrypt and decrypt packets for VPN. the enc/dec are done in the application mode. So I need to get the packets from the kernel mode to the application. Can anyone give a scenario on how to achive this? 8John has left the conversation. 8John has joined the conversation. Eliyas_MSFT : A: NDISUIO sample demonstrates how to send & receive packets from kernel-mode to usermode and vice versa. So please study that. 8Flash99 has joined the conversation. 8Juan has joined the conversation. 8Flash99 has left the conversation. 8Mitesh_MS has left the conversation. alid_MS : Q: bart : alid_MS Q: ok, then how does the protocol know when to stop allocating packets in case the application keeps sending to Winsock (like a UDP sender)? Is there a treshold somewhere? alid_MS : A: There is no threshold as far as I know. I have seen systems running out of memory because miniport drivers did not complete the sends. Eliyas_MSFT : Q: Were there any changes in the driver verifier from 2K to XP to identify memory leaks? We have seen that even if the driver has memory leaks in shutdown routines, the 2K verifier does not identify them. Eliyas_MSFT : A: There are lot of new enhancements to driver verifier in XP. So I recommed testing your driver on XP. 8Mitesh_MS has joined the conversation. 8Flash99 has joined the conversation. 8D- has left the conversation. 8Janice has left the conversation. 8usha has joined the conversation. 8Juan has left the conversation. Aditya_MSFT : Q: Newbie: is everything that is sent on a network in network byte order? 8D- has joined the conversation. Aditya_MSFT : A: Yes 8debbie has left the conversation. 8usha is away. 8usha has returned. 8usha is away. 8usha has left the conversation. 8debbie has joined the conversation. Igor_MS : Q: Will WMI OID puts be fixed soon? for WiFi OID\'s... Igor_MS : A: Please re-post this question on the microsoft.public.development.device.drivers newsgroup. The latest OID definitions can be found on: http://www.microsoft.com/hwdev/tech/network/802x/80211_netadapt.asp 8JDionne has left the conversation. Eliyas_MSFT : Q: Were there any changes in the driver verifier from 2K to XP to identify memory leaks? Eliyas_MSFT : A: This page outlines all the enhancement to driver verifier on XP: http://www.microsoft.com/hwdev/driver/verifier.asp. 8LonB_MSFT has left the conversation. Aditya_MSFT : Q:When should one call NdisMSendComplete? Should it be when the device actually sends the packet? Should it only be when the packet memory is not needed? Does it matter? Aditya_MSFT : A: The device may sendcomplete the packet without sending it on the wire. Once it SendCompletes the NdisPacket, it can no longer access the NdisPacket or its NdisBuffers. Soemin_MSFT : Q: I have had problems with NDIS (under PocketPC 2002) submitting multiple packets to my miniport. I thought the miniport should only have to handle one at a time. What could I be doing wrong? Sometimes I return NDIS_STATUS_FAILURE, SUCCESS or PENDING 8LonB_MSFT has joined the conversation. Soemin_MSFT : A: If the miniport supports SendPacketsHandler() then it may be requested to send multiple packets at a time. Also if the miniport supports SendHandler() and return NDIS_STATUS_PENDING, NDIS may send more packets down even before the first packet gets Soemin_MSFT : completed. 8Jim_MS has left the conversation. Igor_MS : Q: Is soft wifi defined in ndis6? or is it still be architected? Igor_MS : A: Native Wi-Fi will support NDIS 6.0. The more details will be available at WinHEC 2003. 8Jim_MS has joined the conversation. alid_MS : Q: bart : alid_MS: Q: Would you then agree that for full mac drivers, to avoid the NP pool getting low, the linked list for packets received from the protocol in macSend should be limited, and that any overflow should be ignored, returning NDIS_STATUS_SUC 8MS_Eric_S has made Jim_MS a Host. alid_MS : A: No, you should fail the packets and not succeed them and if you get too many packets that you can not handle, you should start failing them (preferably) in your CheckForHang handler. Igor_MS : Q: The current MS Zero config scheme supports 802.11(a,b,g) only - Is there plan to extend this support onto other medium? Igor_MS : A: We are looking into supporting other media, but at this time don\'t have more details. alid_MS : Q: D- : So we should consider NDISUIO an exclusive driver to ZeroWirelessConfig driver and not load it re-entrantly? alid_MS : A: Yes. Igor_MS : Q: Is there any documentation on the WMI classes for accessing 802.11 OIDs? There does not appear to be any in the DDK. Igor_MS : A: Every WMI guid has a corresponding OID. For OID functionality refer to: http://www.microsoft.com/hwdev/tech/network/802x/80211_netadapt.asp 8Rohit has left the conversation. alid_MS : Q: W : Q: On the question of NDISUIO, are you recommending that we build our own version of NDISUIO from the source and ship with it? This will require WHQL, correct? alid_MS : A: If the purpose of doing this is to bypass zero-config the answer is that we No, we do not recommend this. And yes this will require WHQL certification. 8arikh has left the conversation. Igor_MS : Q: do you have any 802.11 sample drivers available? Igor_MS : A: We are preparing a Native Wi-Fi miniport sample driver. We will disclose it at WinHEC 2003. Soemin_MSFT : Q: re: earlier quesiton> So if I want NDIS to handle the queuing for me, then I should return NDIS_STATUS_RESOURCES followed by NdisMSendRscAvail() when they are available? Soemin_MSFT : A: Unfortunately no, for serialized driver (which I assume it will be for CE Pocket PC), then the packet that get NDIS_STATUS_RESOURCE will be retried by NDIS. 8arikh has joined the conversation. MS_Eric_S : Thanks for joining us today and thanks for the questions. It\'s time for us to go now. You\'ll be able to find the transcript of this chat soon on the following web URL: MS_Eric_S : http://msdn.microsoft.com/chats/recent.asp MS_Eric_S : Please see the chat schedule there for upcoming topics. MS_Eric_S : If we didn\'t get a chance to get to your question please ask in microsoft.public.development.device.drivers newsgroup, or go to the following URL: MS_Eric_S : http://msdn.microsoft.com/newsgroups Aditya_MSFT : Also for CE microsoft.public.windowsce.embedded microsoft.public.windowsce.targetted.device. And for 4.2 release microsoft.beta.mckendric.general 8pauls has left the conversation. |
|