With flights in open countryside, I've found out that the bigger birds of prey are windy buggers who'll mainly hang around at a great height and watch. The birds that will really go for it are the swifts and swallows that come in like Exocet missiles, closely followed by seagulls, ravens, magpies and the odd crow, but every time I've been 'buzzed': it's been by the little dickie birds giving it the beans a lot closer to the ground. I reckon it's because they consider the drones colour and flight characteristics (periods of static hovering) a bit too hawk-ish for their liking.
So, would I climb above the max restriction ceiling to "avoid hawk attack"? No. Would I do the same for the smaller birds? No. If one of the big hawks or buzzards really went for it: I doubt you'd have enough time to react. The smaller birds aren't attacking, they're flying to scare a 'predator' off which means they'll peel off before they hit.
Pigeons, however, are a different thing altogether. They're just Forrest Gump thick.