The Infantry will become what you make of it - effort in, reward out. But as others have said, you seriously have to realize that the Army (Infantry included) is NOT a regular job. People do not interact with each other in the same way, work is not assigned in the same way, and everyone is expected to pull their own weight.
One of the things I have seen in my experience is as follows. When you join the Army, your instructors job is to tear you down and rebuild you. You get yelled at, made to do $****y jobs, made to carry things, and singled out. This is not exclusive to women- everyone is treated like S***, and everyone feels like they are being singled out when they have to do fire picket from 0200 until 0400. If you act like you got the crappiest job because of your gender, people WILL view you as a whiner, or lazy, or other. If d*** jokes offend you, this might not be the right trade for you (again, I am going from my own personal experience, which is limited to my small square of Canada).
I do not change how I act if a female soldier is around, because I do not discriminate based on gender. I will act with you the same way I act around males, and if this offends you, either A) pretend it doesn't, or B) pick a different job. Guys fart, scratch their b***s, and make crude jokes- we don't do it because a female is around, we just do (especially in the Infantry world). As long as you accept that, you will have no problems. That being said, if someone is being outright sexist, that is an issue. The Army does not tolerate that s***, and more often than not, your fellow platoon-mates will sort the offender out.
Good luck with your chosen career. Keep in mind that bigots are everywhere, and the Army is no exception.